public class CatalinaBearerTokenAuthenticator extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
challenge |
protected org.jboss.logging.Logger |
log |
protected boolean |
propagateToken |
protected ResourceMetadata |
resourceMetadata |
protected SkeletonKeyToken |
token |
protected String |
tokenString |
Constructor and Description |
---|
CatalinaBearerTokenAuthenticator(ResourceMetadata resourceMetadata,
boolean propagateToken,
boolean challenge) |
Modifier and Type | Method and Description |
---|---|
protected void |
challengeResponse(javax.servlet.http.HttpServletResponse response,
String error,
String description) |
Principal |
getPrincipal() |
ResourceMetadata |
getResourceMetadata() |
SkeletonKeyToken |
getToken() |
String |
getTokenString() |
boolean |
login(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response) |
protected ResourceMetadata resourceMetadata
protected boolean challenge
protected org.jboss.logging.Logger log
protected String tokenString
protected SkeletonKeyToken token
protected boolean propagateToken
public CatalinaBearerTokenAuthenticator(ResourceMetadata resourceMetadata, boolean propagateToken, boolean challenge)
public ResourceMetadata getResourceMetadata()
public String getTokenString()
public SkeletonKeyToken getToken()
public Principal getPrincipal()
public boolean login(org.apache.catalina.connector.Request request, javax.servlet.http.HttpServletResponse response) throws LoginException, IOException
LoginException
IOException
protected void challengeResponse(javax.servlet.http.HttpServletResponse response, String error, String description) throws LoginException
LoginException
Copyright © 2013. All Rights Reserved.