public class LazyRealm
extends LifecycleBase
Constructor and Description |
---|
LazyRealm() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
java.security.Principal |
authenticate(org.ietf.jgss.GSSContext gssContext,
boolean storeCreds) |
java.security.Principal |
authenticate(org.ietf.jgss.GSSName gssName,
org.ietf.jgss.GSSCredential gssCredential) |
java.security.Principal |
authenticate(java.lang.String s) |
java.security.Principal |
authenticate(java.lang.String username,
java.lang.String credentials) |
java.security.Principal |
authenticate(java.lang.String username,
java.lang.String digest,
java.lang.String nonce,
java.lang.String nc,
java.lang.String cnonce,
java.lang.String qop,
java.lang.String realm,
java.lang.String md5a2) |
java.security.Principal |
authenticate(java.security.cert.X509Certificate[] certs) |
void |
backgroundProcess() |
protected void |
destroyInternal() |
SecurityConstraint[] |
findSecurityConstraints(Request request,
Context context) |
Container |
getContainer() |
CredentialHandler |
getCredentialHandler() |
boolean |
hasResourcePermission(Request request,
Response response,
SecurityConstraint[] constraint,
Context context) |
boolean |
hasRole(Wrapper wrapper,
java.security.Principal principal,
java.lang.String role) |
boolean |
hasUserDataPermission(Request request,
Response response,
SecurityConstraint[] constraint) |
protected void |
initInternal() |
boolean |
isAvailable() |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
setCdi(boolean cdi) |
void |
setContainer(Container container) |
void |
setCredentialHandler(CredentialHandler credentialHandler) |
void |
setProperties(java.lang.String properties) |
void |
setRealmClass(java.lang.String realmClass) |
protected void |
startInternal() |
protected void |
stopInternal() |
public void setRealmClass(java.lang.String realmClass)
public void setProperties(java.lang.String properties)
public void setCdi(boolean cdi)
protected void initInternal() throws LifecycleException
LifecycleException
protected void startInternal() throws LifecycleException
LifecycleException
protected void stopInternal() throws LifecycleException
LifecycleException
protected void destroyInternal() throws LifecycleException
LifecycleException
public Container getContainer()
public void setContainer(Container container)
public CredentialHandler getCredentialHandler()
public void setCredentialHandler(CredentialHandler credentialHandler)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public java.security.Principal authenticate(java.lang.String s)
public java.security.Principal authenticate(java.lang.String username, java.lang.String credentials)
public java.security.Principal authenticate(java.lang.String username, java.lang.String digest, java.lang.String nonce, java.lang.String nc, java.lang.String cnonce, java.lang.String qop, java.lang.String realm, java.lang.String md5a2)
public java.security.Principal authenticate(org.ietf.jgss.GSSContext gssContext, boolean storeCreds)
public java.security.Principal authenticate(org.ietf.jgss.GSSName gssName, org.ietf.jgss.GSSCredential gssCredential)
public java.security.Principal authenticate(java.security.cert.X509Certificate[] certs)
public void backgroundProcess()
public SecurityConstraint[] findSecurityConstraints(Request request, Context context)
public boolean hasResourcePermission(Request request, Response response, SecurityConstraint[] constraint, Context context) throws java.io.IOException
java.io.IOException
public boolean hasRole(Wrapper wrapper, java.security.Principal principal, java.lang.String role)
public boolean hasUserDataPermission(Request request, Response response, SecurityConstraint[] constraint) throws java.io.IOException
java.io.IOException
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public boolean isAvailable()