R - Concrete authentication request messagepublic static interface AuthenticationToken.AuthenticationTokenResolver<R extends Message>
AuthenticationToken from an authentication request using a generic Message.| Modifier and Type | Method and Description |
|---|---|
Optional<AuthenticationToken> |
getAuthenticationToken(R request)
Parse given
request message and try to obtain an AuthenticationToken if request is
eligible for this resolver authentication mechanism. |
Class<? extends Message> |
getMessageType()
Get supported message type
|
Optional<String> |
getScheme()
Optional authentication scheme
|
Class<? extends Message> getMessageType()
Optional<String> getScheme()
Optional<AuthenticationToken> getAuthenticationToken(R request) throws AuthenticationException
request message and try to obtain an AuthenticationToken if request is
eligible for this resolver authentication mechanism.request - Authentication requestAuthenticationException - Id resolver recognized given request but it is somehow malformed or
incompleteCopyright © 2017 The Holon Platform. All rights reserved.