Package org.restheart.security.tokens
Class RndTokenManager
java.lang.Object
org.restheart.security.tokens.RndTokenManager
- All Implemented Interfaces:
io.undertow.security.idm.IdentityManager,ConfigurablePlugin,Plugin,Authenticator,TokenManager
-
Field Summary
Fields inherited from interface org.restheart.plugins.security.TokenManager
ACCESS_CONTROL_EXPOSE_HEADERS, AUTH_TOKEN_HEADER, AUTH_TOKEN_LOCATION_HEADER, AUTH_TOKEN_VALID_HEADER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.undertow.security.idm.PasswordCredentialget(io.undertow.security.idm.Account account) getCACHE()voidinit(Map<String, Object> confArgs, PluginsRegistry pluginsRegistry) voidinjectTokenHeaders(io.undertow.server.HttpServerExchange exchange, io.undertow.security.idm.PasswordCredential token) voidinvalidate(io.undertow.security.idm.Account account) voidupdate(io.undertow.security.idm.Account account) io.undertow.security.idm.Accountverify(io.undertow.security.idm.Account account) io.undertow.security.idm.Accountverify(io.undertow.security.idm.Credential credential) io.undertow.security.idm.AccountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefault
-
Constructor Details
-
RndTokenManager
public RndTokenManager()
-
-
Method Details
-
init
public void init(Map<String, Object> confArgs, PluginsRegistry pluginsRegistry) throws ConfigurationException- Throws:
ConfigurationException
-
verify
public io.undertow.security.idm.Account verify(io.undertow.security.idm.Account account) - Specified by:
verifyin interfaceAuthenticator- Specified by:
verifyin interfaceio.undertow.security.idm.IdentityManager
-
verify
public io.undertow.security.idm.Account verify(String id, io.undertow.security.idm.Credential credential) - Specified by:
verifyin interfaceAuthenticator- Specified by:
verifyin interfaceio.undertow.security.idm.IdentityManager
-
verify
public io.undertow.security.idm.Account verify(io.undertow.security.idm.Credential credential) - Specified by:
verifyin interfaceAuthenticator- Specified by:
verifyin interfaceio.undertow.security.idm.IdentityManager
-
getCACHE
-
get
public io.undertow.security.idm.PasswordCredential get(io.undertow.security.idm.Account account) - Specified by:
getin interfaceTokenManager
-
invalidate
public void invalidate(io.undertow.security.idm.Account account) - Specified by:
invalidatein interfaceTokenManager
-
update
public void update(io.undertow.security.idm.Account account) - Specified by:
updatein interfaceTokenManager
-
injectTokenHeaders
public void injectTokenHeaders(io.undertow.server.HttpServerExchange exchange, io.undertow.security.idm.PasswordCredential token) - Specified by:
injectTokenHeadersin interfaceTokenManager
-