public final class AuthorizationFilters extends Object
FilterChain
s to protect resources by performing authorization on
each incoming request.Modifier and Type | Method and Description |
---|---|
static FilterChain |
createAuthorizationFilter(CollectionResourceProvider target,
CrestAuthorizationModule... modules)
Returns a new
FilterChain which will perform authorization for each request before allowing access to the
provided collection resource provider. |
static FilterChain |
createAuthorizationFilter(CollectionResourceProvider target,
List<CrestAuthorizationModule> modules)
Returns a new
FilterChain which will perform authorization for each request before allowing access to the
provided collection resource provider. |
static FilterChain |
createAuthorizationFilter(RequestHandler target,
CrestAuthorizationModule... modules)
Returns a new
FilterChain which will perform authorization for each request before allowing access to the
provided RequestHandler. |
static FilterChain |
createAuthorizationFilter(RequestHandler target,
List<CrestAuthorizationModule> modules)
Returns a new
FilterChain which will perform authorization for each request before allowing access to the
provided RequestHandler. |
static FilterChain |
createAuthorizationFilter(SingletonResourceProvider target,
CrestAuthorizationModule... modules)
Returns a new
FilterChain which will perform authorization for each request before allowing access to the
provided singleton resource provider. |
static FilterChain |
createAuthorizationFilter(SingletonResourceProvider target,
List<CrestAuthorizationModule> modules)
Returns a new
FilterChain which will perform authorization for each request before allowing access to the
provided singleton resource provider. |
public static FilterChain createAuthorizationFilter(CollectionResourceProvider target, CrestAuthorizationModule... modules)
FilterChain
which will perform authorization for each request before allowing access to the
provided collection resource provider.target
- The collection resource provider.modules
- The CrestAuthorizationModule
s that will perform authorization for each request.FilterChain
which will filter requests before allowing access to the provided collection
resource provider.NullPointerException
- If either the specified target
or modules
parameters are
null
.public static FilterChain createAuthorizationFilter(CollectionResourceProvider target, List<CrestAuthorizationModule> modules)
FilterChain
which will perform authorization for each request before allowing access to the
provided collection resource provider.target
- The collection resource provider.modules
- The CrestAuthorizationModule
s that will perform authorization for each request.FilterChain
which will filter requests before allowing access to the provided collection
resource provider.NullPointerException
- If either the specified target
or modules
parameters are
null
.public static FilterChain createAuthorizationFilter(SingletonResourceProvider target, CrestAuthorizationModule... modules)
FilterChain
which will perform authorization for each request before allowing access to the
provided singleton resource provider.target
- The singleton resource provider.modules
- The CrestAuthorizationModule
s that will perform authorization for each request.FilterChain
which will filter requests before allowing access to the provided singleton
resource provider.NullPointerException
- If either the specified target
or modules
parameters are
null
.public static FilterChain createAuthorizationFilter(SingletonResourceProvider target, List<CrestAuthorizationModule> modules)
FilterChain
which will perform authorization for each request before allowing access to the
provided singleton resource provider.target
- The singleton resource provider.modules
- The CrestAuthorizationModule
s that will perform authorization for each request.FilterChain
which will filter requests before allowing access to the provided singleton
resource provider.NullPointerException
- If either the specified target
or modules
parameters are
null
.public static FilterChain createAuthorizationFilter(RequestHandler target, CrestAuthorizationModule... modules)
FilterChain
which will perform authorization for each request before allowing access to the
provided RequestHandler.target
- The RequestHandler.modules
- The CrestAuthorizationModule
s that will perform authorization for each request.FilterChain
which will filter requests before allowing access to the provided
RequestHandler.NullPointerException
- If either the specified target
or modules
parameters are
null
.public static FilterChain createAuthorizationFilter(RequestHandler target, List<CrestAuthorizationModule> modules)
FilterChain
which will perform authorization for each request before allowing access to the
provided RequestHandler.target
- The RequestHandler.modules
- The CrestAuthorizationModule
s that will perform authorization for each request.FilterChain
which will filter requests before allowing access to the provided
RequestHandler.NullPointerException
- If either the specified target
or modules
parameters are
null
.Copyright © 2010-2018, ForgeRock All Rights Reserved.