Class CedarAuthorizationService
- java.lang.Object
-
- io.jans.configapi.security.service.AuthorizationService
-
- io.jans.configapi.security.service.CedarAuthorizationService
-
- All Implemented Interfaces:
Serializable
@ApplicationScoped @Named("cedarAuthorizationService") @Alternative @Priority(1) public class CedarAuthorizationService extends AuthorizationService implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BOOTSTRAP_JSON_PATH
-
Constructor Summary
Constructors Constructor Description CedarAuthorizationService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
processAuthorization(String token, String issuer, jakarta.ws.rs.container.ResourceInfo resourceInfo, String method, String path)
static String
readFile(String filePath)
-
Methods inherited from class io.jans.configapi.security.service.AuthorizationService
containsAnyElement, findMissingElements, getAllScopeList, getApiApprovedIssuer, getAuthSpecificScopeRequired, getErrorResponse, getRequestedScopes, isConfigOauthEnabled, isEqualCollection, validateScope
-
-
-
-
Field Detail
-
BOOTSTRAP_JSON_PATH
public static final String BOOTSTRAP_JSON_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
processAuthorization
public String processAuthorization(String token, String issuer, jakarta.ws.rs.container.ResourceInfo resourceInfo, String method, String path) throws jakarta.ws.rs.WebApplicationException, Exception
- Specified by:
processAuthorization
in classAuthorizationService
- Throws:
jakarta.ws.rs.WebApplicationException
Exception
-
-