Class LoginCallbackImpl
java.lang.Object
org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallbackImpl
- All Implemented Interfaces:
LoginCallback
This is similar to the jaspi PasswordValidationCallback but includes user
principal and group info as well.
- Version:
- $Rev: 4793 $ $Date: 2009-03-19 00:00:01 +0100 (Thu, 19 Mar 2009) $
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
String[]
getRoles()
boolean
void
void
setSuccess
(boolean success) void
setUserPrincipal
(Principal userPrincipal)
-
Constructor Details
-
LoginCallbackImpl
-
-
Method Details
-
getSubject
- Specified by:
getSubject
in interfaceLoginCallback
-
getUserName
- Specified by:
getUserName
in interfaceLoginCallback
-
getCredential
- Specified by:
getCredential
in interfaceLoginCallback
-
isSuccess
public boolean isSuccess()- Specified by:
isSuccess
in interfaceLoginCallback
-
setSuccess
public void setSuccess(boolean success) - Specified by:
setSuccess
in interfaceLoginCallback
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfaceLoginCallback
-
setUserPrincipal
- Specified by:
setUserPrincipal
in interfaceLoginCallback
-
getRoles
- Specified by:
getRoles
in interfaceLoginCallback
-
setRoles
- Specified by:
setRoles
in interfaceLoginCallback
-
clearPassword
public void clearPassword()- Specified by:
clearPassword
in interfaceLoginCallback
-