Interface LoginCallback
-
- All Known Implementing Classes:
LoginCallbackImpl
public interface LoginCallbackThis is similar to the jaspi PasswordValidationCallback but includes user principal and group info as well.- Version:
- $Rev: 4792 $ $Date: 2009-03-18 22:55:52 +0100 (Wed, 18 Mar 2009) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearPassword()ObjectgetCredential()String[]getRoles()SubjectgetSubject()StringgetUserName()PrincipalgetUserPrincipal()booleanisSuccess()voidsetRoles(String[] roles)voidsetSuccess(boolean success)voidsetUserPrincipal(Principal userPrincipal)
-
-
-
Method Detail
-
getSubject
Subject getSubject()
-
getUserName
String getUserName()
-
getCredential
Object getCredential()
-
isSuccess
boolean isSuccess()
-
setSuccess
void setSuccess(boolean success)
-
getUserPrincipal
Principal getUserPrincipal()
-
setUserPrincipal
void setUserPrincipal(Principal userPrincipal)
-
getRoles
String[] getRoles()
-
setRoles
void setRoles(String[] roles)
-
clearPassword
void clearPassword()
-
-