com.trackstudio.app.adapter
Interface AuthAdapter
- All Superinterfaces:
- Adapter
- All Known Implementing Classes:
- LDAPAuthAdapter, LoggingAuthAdapter, NTLMAuthAdapter, SimpleAuthAdapter
public interface AuthAdapter
- extends Adapter
Method Summary |
boolean |
authorizeImpl(java.lang.String userId,
java.lang.String password,
boolean result)
TrackStudio call this method to authorize user |
void |
changePasswordImpl(java.lang.String userId,
java.lang.String password)
Called when user change password. |
authorizeImpl
boolean authorizeImpl(java.lang.String userId,
java.lang.String password,
boolean result)
throws GranException
- TrackStudio call this method to authorize user
- Parameters:
userId
- - loaded (by login) user's id bean GR_USERpassword
- - entered password
- Returns:
- true for correct password, false otherwise.
- Throws:
GranException
changePasswordImpl
void changePasswordImpl(java.lang.String userId,
java.lang.String password)
throws GranException
- Called when user change password. If adapter does not
support this functionality, they should throw GranException
or simple do nothing. This method also useful for security
policy implementation
- Throws:
GranException
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.