|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.talika.tarsis.service.AbstractService
org.talika.tarsis.security.AuthenticatorService
org.talika.tarsis.security.memory.MemoryAuthenticator
XML/Memory implementation of Authenticator interface.
| Constructor Summary | |
|---|---|
MemoryAuthenticator()
Creates a new MemoryAuthenticator. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns name of service. |
void |
init(Context context)
Called by the framework to indicate that is being placed into service. |
SecuritySession |
login(java.lang.String username,
java.lang.String password)
Checks if given user and password are correct. |
| Methods inherited from class org.talika.tarsis.service.AbstractService |
|---|
destroy, getContext, getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MemoryAuthenticator()
MemoryAuthenticator.
| Method Detail |
public void init(Context context)
throws ServiceException
init in interface Serviceinit in class AbstractServicecontext - Context context that initialized service.
ServiceException - if an exception has occurred that interferes with the
services's normal operationService.init(Context)public java.lang.String getName()
getName in interface ServicegetName in class AbstractServiceService.getName()
public SecuritySession login(java.lang.String username,
java.lang.String password)
throws AuthenticationFailedException
login in interface Authenticatorlogin in class AuthenticatorServiceusername - String user name.password - String user password.
AuthenticationFailedException - if user and/or password aren't correct.Authenticator.login(String, String)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||