@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 java.lang.Integer |
ORDER
The order of the TokenReader.
|
| Constructor and Description |
|---|
BasicAuthTokenReader(BasicAuthTokenReaderConfiguration bearerTokenReaderConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getHeaderName() |
int |
getOrder() |
protected java.lang.String |
getPrefix() |
extractTokenFromAuthorization, findTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindTokenpublic static final java.lang.Integer ORDER
protected final BasicAuthTokenReaderConfiguration bearerTokenReaderConfiguration
public BasicAuthTokenReader(BasicAuthTokenReaderConfiguration bearerTokenReaderConfiguration)
bearerTokenReaderConfiguration - Instance of BasicAuthTokenReaderConfigurationpublic int getOrder()
getOrder in interface io.micronaut.core.order.Orderedprotected java.lang.String getHeaderName()
getHeaderName in class HttpHeaderTokenReaderprotected java.lang.String getPrefix()
getPrefix in class HttpHeaderTokenReader