Package | Description |
---|---|
org.forgerock.openig.audit |
Contains the audit framework APIs.
|
org.forgerock.openig.filter |
Filters the requests and/or responses of HTTP exchanges.
|
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 exchange requests by generating responses.
|
org.forgerock.openig.util |
Miscellaneous utility classes.
|
Constructor and Description |
---|
ConditionalAuditEventListener(AuditEventListener delegate,
Expression condition)
Builds a new ConditionalAuditEventListener that will delegates to the given
delegate under the given
condition . |
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 value)
Adds a new form parameter using the given
key with the given Expression . |
StaticRequestFilter |
StaticRequestFilter.addHeaderValue(String key,
Expression 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 condition,
Expression target,
Expression value)
Registers a conditional binding on the request flow.
|
SwitchFilter |
SwitchFilter.addRequestCase(Expression 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 condition,
Expression target,
Expression value)
Registers a conditional binding on the response flow.
|
SwitchFilter |
SwitchFilter.addResponseCase(Expression condition,
Handler handler)
Add a response switch case with a condition and the handler to execute if condition yields.
|
void |
LocationHeaderFilter.setBaseURI(Expression baseURI)
Sets the base URI used to rewrite Location headers.
|
void |
CaptureFilter.setCondition(Expression condition)
Deprecated.
Used to conditionally capture the exchange.
|
void |
StaticRequestFilter.setUri(Expression 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 value,
Expression target)
Builds a new FileAttributesFilter extracting values from the given separated values file.
|
HttpBasicAuthFilter(Expression username,
Expression password,
Handler failureHandler)
Builds a
HttpBasicAuthFilter with required expressions and error handler. |
SqlAttributesFilter(DataSource dataSource,
Expression 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. |
Constructor and Description |
---|
EnforcerFilter(Expression enforcement,
Filter delegate)
Creates a new
EnforcerFilter delegating to the given Filter if the enforcement expression yields
true. |
OAuth2ResourceServerFilter(AccessTokenResolver resolver,
BearerTokenExtractor extractor,
org.forgerock.util.time.TimeService time,
Expression target)
Creates a new
OAuth2Filter . |
OAuth2ResourceServerFilter(AccessTokenResolver resolver,
BearerTokenExtractor extractor,
org.forgerock.util.time.TimeService time,
Set<Expression> scopes,
String realm,
Expression target)
Creates a new
OAuth2Filter . |
Constructor and Description |
---|
OAuth2ResourceServerFilter(AccessTokenResolver resolver,
BearerTokenExtractor extractor,
org.forgerock.util.time.TimeService time,
Set<Expression> scopes,
String realm,
Expression target)
Creates a new
OAuth2Filter . |
Modifier and Type | Method and Description |
---|---|
OAuth2Provider |
OAuth2Provider.setAuthorizeEndpoint(Expression endpoint)
Sets the expression which will be used for obtaining the authorization
server's authorize end-point.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setClientEndpoint(Expression endpoint)
Sets the expression which will be used for obtaining the base URI for the
following client end-points:
{endpoint}/callback - called by the authorization server
once authorization has completed
{endpoint}/login?provider={name}[&goto={url}] - user
end-point for performing user initiated authentication, such as from a
"login" link or "NASCAR" login page.
|
OAuth2Provider |
OAuth2Provider.setClientId(Expression clientId)
Sets the expression which will be used for obtaining the OAuth 2 client
ID.
|
OAuth2Provider |
OAuth2Provider.setClientSecret(Expression clientSecret)
Sets the expression which will be used for obtaining the OAuth 2 client
secret.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setDefaultLoginGoto(Expression endpoint)
Sets the expression which will be used for obtaining the default login
"goto" URI.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setDefaultLogoutGoto(Expression 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 exchange.
|
OAuth2Provider |
OAuth2Provider.setTokenEndpoint(Expression endpoint)
Sets the expression which will be used for obtaining the authorization
server's access token end-point.
|
OAuth2Provider |
OAuth2Provider.setUserInfoEndpoint(Expression endpoint)
Sets the expression which will be used for obtaining the authorization
server's OpenID Connect user info end-point.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Provider |
OAuth2Provider.setScopes(List<Expression> scopes)
Sets the expressions which will be used for obtaining the OAuth 2 scopes
for this provider.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setScopes(List<Expression> scopes)
Sets the expressions which will be used for obtaining the OAuth 2 scopes.
|
Modifier and Type | Method and Description |
---|---|
DispatchHandler |
DispatchHandler.addBinding(Expression condition,
Handler handler,
URI baseURI)
Binds an expression to the current handler to dispatch to.
|
SequenceHandler |
SequenceHandler.addBinding(Handler handler,
Expression postcondition)
Binds sequenced handlers with sequence processing postconditions.
|
StaticResponseHandler |
StaticResponseHandler.addHeader(String key,
Expression expression)
Adds a pair key / expression to the header.
|
Constructor and Description |
---|
StaticResponseHandler(Integer status,
String reason,
String version,
Expression entity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
Json.asExpression(org.forgerock.json.fluent.JsonValue value)
Returns a JSON value string value as an expression.
|
Modifier and Type | Method and Description |
---|---|
static org.forgerock.util.promise.Function<org.forgerock.json.fluent.JsonValue,Expression,HeapException> |
Json.ofExpression()
Returns a function for transforming JsonValues to expressions.
|
Copyright © 2014 ForgeRock AS. All rights reserved.