@Requires(property="micronaut.security.token.basic-auth.enabled", notEquals="false") @Singleton public class BasicAuthTokenReader extends HttpHeaderTokenReader implements TokenReader
| Modifier and Type | Field and Description |
|---|---|
protected BasicAuthTokenReaderConfiguration |
bearerTokenReaderConfiguration |
static Integer |
ORDER
The order of the TokenReader.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
BasicAuthTokenReader(BasicAuthTokenReaderConfiguration bearerTokenReaderConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getHeaderName() |
int |
getOrder() |
protected String |
getPrefix() |
extractTokenFromAuthorization, findTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindTokenpublic static final Integer ORDER
protected final BasicAuthTokenReaderConfiguration bearerTokenReaderConfiguration
public BasicAuthTokenReader(BasicAuthTokenReaderConfiguration bearerTokenReaderConfiguration)
bearerTokenReaderConfiguration - Instance of BasicAuthTokenReaderConfigurationpublic int getOrder()
protected String getHeaderName()
getHeaderName in class HttpHeaderTokenReaderprotected String getPrefix()
getPrefix in class HttpHeaderTokenReader