Package org.wildfly.security.evidence
Class BearerTokenEvidence
java.lang.Object
org.wildfly.security.evidence.BearerTokenEvidence
- All Implemented Interfaces:
Evidence
A piece of evidence that is comprised of a bearer security token.
- Author:
- Pedro Igor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.evidence.Evidence
castAndApply, castAndApply, castAs, castAs, getDecodedPrincipal, getDefaultPrincipal, getPrincipal, setDecodedPrincipal
-
Constructor Details
-
BearerTokenEvidence
Construct a new instance.- Parameters:
token- the bearer security token (must not benull)
-
-
Method Details
-
getToken
Get the bearer security token.- Returns:
- the bearer security token
-