|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pmease.quickbuild.extensionpoint.support.TypeInstance
com.pmease.quickbuild.security.Authenticator
public abstract class Authenticator
The authenticator base class. All authenticator classes should extend from this class.
Constructor Summary | |
---|---|
Authenticator()
|
Method Summary | |
---|---|
abstract AuthenticationResult |
authenticate(java.lang.String userName,
java.lang.String password)
Authenticate specified user name and password against the authentication system represented by this authenticator. |
java.lang.String |
getDefaultGroupName()
|
java.lang.String |
getDescription()
Get description of the authenticator. |
abstract java.lang.String |
getEmail(java.lang.String userName)
Get email address of specified user in the authentication system represented by this authenticator. |
java.lang.String |
getName()
Get name of the authenticator. |
boolean |
isDisabled()
|
void |
setDefaultGroupName(java.lang.String defaultGroupName)
|
void |
setDescription(java.lang.String description)
|
void |
setDisabled(boolean disabled)
|
void |
setName(java.lang.String name)
|
Methods inherited from class com.pmease.quickbuild.extensionpoint.support.TypeInstance |
---|
getPlugin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Authenticator()
Method Detail |
---|
@NotEmpty public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public java.lang.String getDefaultGroupName()
public void setDefaultGroupName(java.lang.String defaultGroupName)
public abstract AuthenticationResult authenticate(java.lang.String userName, java.lang.String password)
userName
- user name to checkpassword
- password to check
public abstract java.lang.String getEmail(java.lang.String userName)
userName
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |