public class SubjectCredentialsProvider extends Object implements CredentialsProvider
BASIC_AUTH_PREFIX, TOKEN_AUTH_PREFIX| Constructor and Description |
|---|
SubjectCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorization()
Returns authorization string that shall be used for setting up
"Authorization" header for HTTP communication.
|
String |
getHeaderName()
Returns name of the HTTP header to be set with given authorization
|
protected Subject |
getSubjectFromContainer() |
protected boolean |
match(Principal principal) |
public String getHeaderName()
CredentialsProvidergetHeaderName in interface CredentialsProviderpublic String getAuthorization()
CredentialsProvidergetAuthorization in interface CredentialsProviderprotected Subject getSubjectFromContainer()
protected boolean match(Principal principal)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.