public final class PasswordAuthenticator extends Object implements IAuthenticator
| Modifier and Type | Class and Description |
|---|---|
static class |
PasswordAuthenticator.Binder
HK2 Binder for our injector context.
|
| Constructor and Description |
|---|
PasswordAuthenticator(org.hibernate.Session session)
Create a new password authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
authenticate(Authenticator authenticator,
javax.ws.rs.core.MultivaluedMap<String,String> parameters,
URI callback)
Resolve and/or create a user identity for a specific client, given the
returned URI.
|
javax.ws.rs.core.Response |
delegate(Authenticator configuration,
URI callback)
Do nothing, this authenticator does not delegate.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidate@Inject public PasswordAuthenticator(org.hibernate.Session session)
session - An injected hibernate session.public javax.ws.rs.core.Response delegate(Authenticator configuration, URI callback)
delegate in interface IAuthenticatorconfiguration - The authenticator configuration.callback - The redirect, on this server, where the response
should go.public UserIdentity authenticate(Authenticator authenticator, javax.ws.rs.core.MultivaluedMap<String,String> parameters, URI callback)
authenticate in interface IAuthenticatorauthenticator - The authenticator configuration.parameters - Parameters for the authenticator, retrieved from
an appropriate source.callback - The redirect that was provided to the original
authorize call.Copyright © 2018 krotscheck.net. All rights reserved.