@RequestScoped public class DefaultAuthenticator extends Object
The DefaultAuthenticator supports the following authentication methods:
In case the auth method is not defined or set to 'CUSTOM' no default filter is chosen. In this case a custom implementation of an authenticator can observe the CDI Event 'org.imixs.microservice.core.auth.AuthEvent' to register a custom filter.
| Constructor and Description |
|---|
DefaultAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerRequestFilter(AuthEvent authEvent)
This method registers the default JWT auth module.
|
public void registerRequestFilter(@Observes
AuthEvent authEvent)
throws AuthException
The method creates a JWT based on a given secret with the userid='imixs-microservice'
authEvent - - providing a melman rest client instanceorg.imixs.jwt.JWTExceptionAuthExceptionCopyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.