| Package | Description |
|---|---|
| com.atlassian.confluence.plugins.rest.asap | |
| com.atlassian.confluence.plugins.rest.asap.servlet |
| Modifier and Type | Field and Description |
|---|---|
static AsapAuthorizationConfig |
AsapAuthorizationConfig.ASAP_NOT_ALLOWED |
| Modifier and Type | Method and Description |
|---|---|
void |
AsapAuthorizer.authorize(AsapAuthorizationConfig config,
Optional<com.atlassian.asap.api.Jwt> asapJwt)
Authorizes the optional jwt token against the config.
|
boolean |
AsapAuthorizer.isAuthorized(AsapAuthorizationConfig config,
com.atlassian.asap.api.Jwt jwt)
Checks the list of issuers against the jwt token.
|
void |
AsapAuthorizer.throwIfMandatory(AsapAuthorizationConfig config)
Checks whether the AsapAuthorizationConfig is mandatory, and throws an AuthorizationFailedException if it is
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,AsapAuthorizationConfig> |
ServletAuthorizationConfigProvider.getAuthorizationConfigs() |
| Constructor and Description |
|---|
ServletAuthorizationConfigProvider(Map<String,AsapAuthorizationConfig> authorizationConfigMap)
Construct using a map from URL prefix to the auth config for that prefix.
|
Copyright © 2003–2017 Atlassian. All rights reserved.