public interface RequestAuthorizationFilter extends Comparable<RequestAuthorizationFilter>
Implementations of this interface can use the Guice setter based injection.
Modifier and Type | Method and Description |
---|---|
default void |
afterFailedAuthorization(PermissionTicket permissionTicket,
Subject requestingParty,
Subject resourceOwner,
Set<String> requestedScope)
Invoked after a failed request authorization attempt.
|
default void |
afterFailedAuthorization(ResourceSetDescription resource,
PermissionTicket permissionTicket,
Subject requestingParty,
Subject resourceOwner,
Set<String> requestedScope)
Invoked after a failed request authorization attempt.
|
default void |
afterSuccessfulAuthorization(PermissionTicket permissionTicket,
Subject requestingParty,
Subject resourceOwner,
Set<String> requestedScope,
Set<String> grantedScope)
Invoked after a successful request authorization attempt.
|
default void |
afterSuccessfulAuthorization(ResourceSetDescription resource,
PermissionTicket permissionTicket,
Subject requestingParty,
Subject resourceOwner,
Set<String> requestedScope,
Set<String> grantedScope)
Invoked after a successful request authorization attempt.
|
default void |
beforeAuthorization(PermissionTicket permissionTicket,
Subject requestingParty,
Subject resourceOwner,
Set<String> requestedScope)
Invoked before authorization of the request is attempted.
|
default void |
beforeAuthorization(ResourceSetDescription resource,
PermissionTicket permissionTicket,
Subject requestingParty,
Subject resourceOwner,
Set<String> requestedScope)
Invoked before authorization of the request is attempted.
|
compareTo
default void beforeAuthorization(ResourceSetDescription resource, PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner, Set<String> requestedScope)
resource
- The UMA resource that the ticket is requesting access to.permissionTicket
- The permission ticket associated with the authorization request.requestingParty
- The requesting party.resourceOwner
- The resource owner.requestedScope
- The scope that is being requested.UmaException
- If authorization of the request should not be attempted.default void beforeAuthorization(PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner, Set<String> requestedScope)
permissionTicket
- The permission ticket associated with the authorization request.requestingParty
- The requesting party.resourceOwner
- The resource owner.requestedScope
- The scope that is being requested.UmaException
- If authorization of the request should not be attempted.default void afterSuccessfulAuthorization(ResourceSetDescription resource, PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner, Set<String> requestedScope, Set<String> grantedScope)
resource
- The UMA resource that the ticket has access to.permissionTicket
- The permission ticket associated with the authorization request.requestingParty
- The requesting party.resourceOwner
- The resource owner.requestedScope
- The scope that was requested.grantedScope
- The scope that was granted.default void afterSuccessfulAuthorization(PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner, Set<String> requestedScope, Set<String> grantedScope)
permissionTicket
- The permission ticket associated with the authorization request.requestingParty
- The requesting party.resourceOwner
- The resource owner.requestedScope
- The scope that was requested.grantedScope
- The scope that was granted.default void afterFailedAuthorization(ResourceSetDescription resource, PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner, Set<String> requestedScope)
resource
- The UMA resource that the ticket is denied access to.permissionTicket
- The permission ticket associated with the authorization request.requestingParty
- The requesting party.resourceOwner
- The resource owner.requestedScope
- The scope that was requested.default void afterFailedAuthorization(PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner, Set<String> requestedScope)
permissionTicket
- The permission ticket associated with the authorization request.requestingParty
- The requesting party.resourceOwner
- The resource owner.requestedScope
- The scope that was requested.Copyright © 2010-2018, ForgeRock All Rights Reserved.