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 LoginCallback
public String getUserName()
getUserName
in interface LoginCallback
public Object getCredential()
getCredential
in interface LoginCallback
public boolean isSuccess()
isSuccess
in interface LoginCallback
public void setSuccess(boolean success)
setSuccess
in interface LoginCallback
public Principal getUserPrincipal()
getUserPrincipal
in interface LoginCallback
public void setUserPrincipal(Principal userPrincipal)
setUserPrincipal
in interface LoginCallback
public String[] getRoles()
getRoles
in interface LoginCallback
public void setRoles(String[] groups)
setRoles
in interface LoginCallback
public void clearPassword()
clearPassword
in interface LoginCallback
Copyright © 1995-2015 Webtide. All Rights Reserved.