Package | Description |
---|---|
org.forgerock.openig.audit |
[ Deprecated ] Contains the audit framework APIs.
|
org.forgerock.openig.el |
Integrates with the Java Enterprise Edition Unified Expression Language API.
|
org.forgerock.openig.filter |
Filters the requests and/or responses of HTTP.
|
org.forgerock.openig.filter.oauth2 |
This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.
|
org.forgerock.openig.filter.oauth2.client |
OAuth 2.0 Client filter implementation.
|
org.forgerock.openig.handler |
Handles HTTP requests by generating responses.
|
org.forgerock.openig.openam |
OpenAM-specific integration classes.
|
org.forgerock.openig.util |
Miscellaneous utility classes.
|
Constructor and Description |
---|
ConditionalAuditEventListener(AuditEventListener delegate,
Expression<Boolean> condition)
Deprecated.
Builds a new ConditionalAuditEventListener that will delegates to the given
delegate under the given
condition . |
Modifier and Type | Method and Description |
---|---|
static <T> Expression<T> |
Expression.valueOf(String expression,
Class<T> expectedType)
Factory method to create an Expression.
|
Modifier and Type | Method and Description |
---|---|
List<Expression<?>> |
SqlAttributesFilter.getParameters()
Returns the list of parameters to evaluate and include in the execution of the prepared statement.
|
Modifier and Type | Method and Description |
---|---|
StaticRequestFilter |
StaticRequestFilter.addFormParameter(String name,
Expression<String> value)
Adds a new form parameter using the given
key with the given Expression . |
StaticRequestFilter |
StaticRequestFilter.addHeaderValue(String key,
Expression<String> value)
Adds a new header value using the given
key with the given Expression . |
AssignmentFilter |
AssignmentFilter.addRequestBinding(Expression<?> target)
Registers an unconditional (always executed) binding on the request flow.
|
AssignmentFilter |
AssignmentFilter.addRequestBinding(Expression<?> target,
Expression<?> value)
Registers an unconditional (always executed) binding on the request flow.
|
AssignmentFilter |
AssignmentFilter.addRequestBinding(Expression<?> target,
Expression<?> value)
Registers an unconditional (always executed) binding on the request flow.
|
AssignmentFilter |
AssignmentFilter.addRequestBinding(Expression<Boolean> condition,
Expression<?> target,
Expression<?> value)
Registers a conditional binding on the request flow.
|
AssignmentFilter |
AssignmentFilter.addRequestBinding(Expression<Boolean> condition,
Expression<?> target,
Expression<?> value)
Registers a conditional binding on the request flow.
|
AssignmentFilter |
AssignmentFilter.addRequestBinding(Expression<Boolean> condition,
Expression<?> target,
Expression<?> value)
Registers a conditional binding on the request flow.
|
SwitchFilter |
SwitchFilter.addRequestCase(Expression<Boolean> condition,
Handler handler)
Add a request switch case with a condition and the handler to execute if condition yields.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(Expression<?> target)
Registers an unconditional (always executed) binding on the response flow.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(Expression<?> target,
Expression<?> value)
Registers an unconditional (always executed) binding on the response flow.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(Expression<?> target,
Expression<?> value)
Registers an unconditional (always executed) binding on the response flow.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(Expression<Boolean> condition,
Expression<?> target,
Expression<?> value)
Registers a conditional binding on the response flow.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(Expression<Boolean> condition,
Expression<?> target,
Expression<?> value)
Registers a conditional binding on the response flow.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(Expression<Boolean> condition,
Expression<?> target,
Expression<?> value)
Registers a conditional binding on the response flow.
|
SwitchFilter |
SwitchFilter.addResponseCase(Expression<Boolean> condition,
Handler handler)
Add a response switch case with a condition and the handler to execute if condition yields.
|
void |
LocationHeaderFilter.setBaseURI(Expression<String> baseURI)
Sets the base URI used to rewrite Location headers.
|
void |
StaticRequestFilter.setEntity(Expression<String> entity)
Sets the message entity expression.
|
void |
StaticRequestFilter.setUri(Expression<String> uri)
Sets the target URI as an expression to allow dynamic URI construction.
|
Constructor and Description |
---|
EntityExtractFilter(MessageType type,
Expression<?> target)
Builds an EntityExtractFilter that will act either on
MessageType.REQUEST or MessageType.RESPONSE
flow, extracting patterns into the given target Expression . |
EntityExtractFilter(MessageType type,
Expression<?> target,
Charset charset)
Builds an EntityExtractFilter that will act either on
MessageType.REQUEST or MessageType.RESPONSE
flow, extracting patterns into the given target Expression . |
FileAttributesFilter(SeparatedValuesFile file,
String key,
Expression<String> value,
Expression<Map> target)
Builds a new FileAttributesFilter extracting values from the given separated values file.
|
FileAttributesFilter(SeparatedValuesFile file,
String key,
Expression<String> value,
Expression<Map> target)
Builds a new FileAttributesFilter extracting values from the given separated values file.
|
HttpBasicAuthFilter(Expression<String> username,
Expression<String> password,
Handler failureHandler)
Builds a
HttpBasicAuthFilter with required expressions and error handler. |
HttpBasicAuthFilter(Expression<String> username,
Expression<String> password,
Handler failureHandler)
Builds a
HttpBasicAuthFilter with required expressions and error handler. |
SqlAttributesFilter(DataSource dataSource,
Expression<Map> target,
String preparedStatement)
Builds a new SqlAttributesFilter that will execute the given SQL statement on the given
DataSource ,
placing the results in a Map in the specified target. |
ThrottlingFilter(TimeService time,
int numberOfRequests,
Duration duration,
Expression<String> partitionKey)
Constructs a ThrottlingFilter.
|
Constructor and Description |
---|
EnforcerFilter(Expression<Boolean> enforcement,
Filter delegate)
Creates a new
EnforcerFilter delegating to the given Filter if the enforcement expression yields
true. |
OAuth2ResourceServerFilter(AccessTokenResolver resolver,
BearerTokenExtractor extractor,
TimeService time,
Expression<?> target)
Creates a new
OAuth2Filter . |
OAuth2ResourceServerFilter(AccessTokenResolver resolver,
BearerTokenExtractor extractor,
TimeService time,
Set<Expression<String>> scopes,
String realm,
Expression<?> target)
Creates a new
OAuth2Filter . |
Constructor and Description |
---|
OAuth2ResourceServerFilter(AccessTokenResolver resolver,
BearerTokenExtractor extractor,
TimeService time,
Set<Expression<String>> scopes,
String realm,
Expression<?> target)
Creates a new
OAuth2Filter . |
Modifier and Type | Method and Description |
---|---|
OAuth2ClientFilter |
OAuth2ClientFilter.setDefaultLoginGoto(Expression<String> endpoint)
Sets the expression which will be used for obtaining the default login
"goto" URI.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setDefaultLogoutGoto(Expression<String> endpoint)
Sets the expression which will be used for obtaining the default logout
"goto" URI.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setTarget(Expression<?> target)
Sets the expression which will be used for storing authorization
information in the context.
|
Constructor and Description |
---|
OAuth2ClientFilter(TimeService time,
Heap heap,
JsonValue metadata,
String name,
Handler discoveryHandler,
Expression<String> clientEndpoint)
Constructs an
OAuth2ClientFilter . |
Modifier and Type | Method and Description |
---|---|
DispatchHandler |
DispatchHandler.addBinding(Expression<Boolean> condition,
Handler handler,
URI baseURI)
Binds an expression to the current handler to dispatch to.
|
SequenceHandler |
SequenceHandler.addBinding(Handler handler,
Expression<Boolean> postcondition)
Binds sequenced handlers with sequence processing postconditions.
|
StaticResponseHandler |
StaticResponseHandler.addHeader(String key,
Expression<String> expression)
Adds a pair key / expression to the header.
|
Constructor and Description |
---|
StaticResponseHandler(Status status,
String version,
Expression<String> entity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
PolicyEnforcementFilter.setJwtSubject(Expression<String> jwtSubject)
Sets the JWT string for the subject.
|
void |
PolicyEnforcementFilter.setSsoTokenSubject(Expression<String> ssoTokenSubject)
Sets the SSO token for the subject.
|
Constructor and Description |
---|
TokenTransformationFilter(Handler handler,
URI endpoint,
Expression<String> idToken,
Expression<String> target)
Constructs a new TokenTransformationFilter transforming the OpenID Connect id_token from
idToken
into a SAML 2.0 Assertions structure (into target ). |
TokenTransformationFilter(Handler handler,
URI endpoint,
Expression<String> idToken,
Expression<String> target)
Constructs a new TokenTransformationFilter transforming the OpenID Connect id_token from
idToken
into a SAML 2.0 Assertions structure (into target ). |
Modifier and Type | Method and Description |
---|---|
static <T> Expression<T> |
JsonValues.asExpression(JsonValue value,
Class<T> expectedType)
Returns a JSON value string value as an expression.
|
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,Expression<String>,HeapException> |
JsonValues.ofExpression()
Returns a function for transforming JsonValues to expressions.
|
Copyright 2011-2015 ForgeRock AS.