public abstract class AbstractO2AuthenticationFilter extends Object implements javax.ws.rs.container.ContainerRequestFilter
| Constructor and Description |
|---|
AbstractO2AuthenticationFilter(javax.inject.Provider<org.glassfish.jersey.server.ContainerRequest> requestProvider,
javax.inject.Provider<org.hibernate.Session> sessionProvider)
Create a new instance of this filter.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map.Entry<BigInteger,String> |
convertCredentials(String rawId,
String rawSecret)
Convert a raw ID and secret, into a BigInteger entry and value.
|
protected void |
setPrincipal(O2Principal newPrincipal)
Set a principal to the security context.
|
public AbstractO2AuthenticationFilter(javax.inject.Provider<org.glassfish.jersey.server.ContainerRequest> requestProvider,
javax.inject.Provider<org.hibernate.Session> sessionProvider)
requestProvider - The request provider.sessionProvider - The session provider.protected final void setPrincipal(O2Principal newPrincipal)
newPrincipal - The new principal.protected final Map.Entry<BigInteger,String> convertCredentials(String rawId, String rawSecret)
rawId - The raw ID.rawSecret - The raw secret.Copyright © 2018 krotscheck.net. All rights reserved.