public class IssuerAndSubjectWhitelistAsapAuthenticationProvider extends AsapAuthenticationProvider
base class documentation for more| Constructor and Description |
|---|
IssuerAndSubjectWhitelistAsapAuthenticationProvider(JwtValidator jwtValidator,
Iterable<String> validIssuers,
Iterable<String> validSubjects,
Iterable<org.springframework.security.core.GrantedAuthority> authorities) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<org.springframework.security.core.GrantedAuthority> |
getGrantedAuthorities(Jwt validJwt)
Subclasses should implement the strategy to grant authorities to valid JWT tokens with the given combination
of issuer and effective subject.
|
authenticate, effectiveSubject, getDefaultAuthorities, supportspublic IssuerAndSubjectWhitelistAsapAuthenticationProvider(JwtValidator jwtValidator, Iterable<String> validIssuers, Iterable<String> validSubjects, Iterable<org.springframework.security.core.GrantedAuthority> authorities)
jwtValidator - the validator of JWT tokensvalidIssuers - a white list of valid issuersvalidSubjects - a white list of valid subjectsauthorities - the authorities granted to tokens that are included in both whitelistsprotected Collection<org.springframework.security.core.GrantedAuthority> getGrantedAuthorities(Jwt validJwt)
AsapAuthenticationProvidergetGrantedAuthorities in class AsapAuthenticationProviderCopyright © 2017 Atlassian. All rights reserved.