public class LoginCallbackImpl extends Object implements LoginCallback
| Constructor and Description |
|---|
LoginCallbackImpl(Subject subject,
String userName,
Object credential) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearPassword() |
Object |
getCredential() |
String[] |
getRoles() |
Subject |
getSubject() |
String |
getUserName() |
Principal |
getUserPrincipal() |
boolean |
isSuccess() |
void |
setRoles(String[] groups) |
void |
setSuccess(boolean success) |
void |
setUserPrincipal(Principal userPrincipal) |
public Subject getSubject()
getSubject in interface LoginCallbackpublic String getUserName()
getUserName in interface LoginCallbackpublic Object getCredential()
getCredential in interface LoginCallbackpublic boolean isSuccess()
isSuccess in interface LoginCallbackpublic void setSuccess(boolean success)
setSuccess in interface LoginCallbackpublic Principal getUserPrincipal()
getUserPrincipal in interface LoginCallbackpublic void setUserPrincipal(Principal userPrincipal)
setUserPrincipal in interface LoginCallbackpublic String[] getRoles()
getRoles in interface LoginCallbackpublic void setRoles(String[] groups)
setRoles in interface LoginCallbackpublic void clearPassword()
clearPassword in interface LoginCallbackCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.