Top Description Fields Constructors Methods
org.eclipse.jetty.ee10.servlet.security.authentication

public Class LoginCallbackImpl

extends Object
implements LoginCallback
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback
Imports
java.security.Principal, javax.security.auth.Subject

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) $

Field Summary

Modifier and TypeField and Description
private Object
private String[]
private final Subject
private boolean
private final String
private Principal

Constructor Summary

AccessConstructor and Description
public
LoginCallbackImpl(Subject subject, String userName, Object credential)

Method Summary

Modifier and TypeMethod and Description
public void
public Object
public String[]
public Subject
public String
public Principal
public boolean
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

credentialback to summary
private Object credential
rolesback to summary
private String[] roles
subjectback to summary
private final Subject subject
successback to summary
private boolean success
userNameback to summary
private final String userName
userPrincipalback to summary
private Principal userPrincipal

Constructor Detail

LoginCallbackImplback to summary
public LoginCallbackImpl(Subject subject, String userName, Object credential)

Method Detail

clearPasswordback to summary
public void clearPassword()

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.clearPassword.

Annotations
@Override
getCredentialback to summary
public Object getCredential()

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.getCredential.

Annotations
@Override
getRolesback to summary
public String[] getRoles()

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.getRoles.

Annotations
@Override
getSubjectback to summary
public Subject getSubject()

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.getSubject.

Annotations
@Override
getUserNameback to summary
public String getUserName()

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.getUserName.

Annotations
@Override
getUserPrincipalback to summary
public Principal getUserPrincipal()

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.getUserPrincipal.

Annotations
@Override
isSuccessback to summary
public boolean isSuccess()

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.isSuccess.

Annotations
@Override
setRolesback to summary
public void setRoles(String[] groups)

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.setRoles.

Annotations
@Override
setSuccessback to summary
public void setSuccess(boolean success)

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.setSuccess.

Annotations
@Override
setUserPrincipalback to summary
public void setUserPrincipal(Principal userPrincipal)

Implements org.eclipse.jetty.ee10.servlet.security.authentication.LoginCallback.setUserPrincipal.

Annotations
@Override