Package | Description |
---|---|
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.client |
OAuth 2.0 Client filter implementation.
|
org.forgerock.openig.handler |
Handles HTTP requests by generating responses.
|
org.forgerock.openig.heap |
Manages collections or "heaps" of associated objects, initialized from
declarative configuration artifacts.
|
org.forgerock.openig.openam |
OpenAM-specific integration classes.
|
org.forgerock.openig.util |
Miscellaneous utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
LeftValueExpression<T>
A
LeftValueExpression is a specialized Expression to which we can assign a value. |
Modifier and Type | Method and Description |
---|---|
static <T> Expression<T> |
Expression.valueOf(String expression,
Class<T> expectedType)
Factory method to create an Expression.
|
static <T> Expression<T> |
Expression.valueOf(String expression,
Class<T> expectedType,
Bindings initialBindings)
Factory method to create an Expression.
|
Constructor and Description |
---|
ExpressionRequestAsyncFunction(Expression<V> expression)
Constructs an
AsyncFunction that evaluates the provided Expression . |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,Expression<String>> |
HeaderFilter.getAddedHeaders()
Returns the header fields to add to the message, represented as a MultiMap of String to a List of String, each
listed value representing
an expression that will be evaluated.
|
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<Boolean> condition,
LeftValueExpression<?> target,
Expression<?> value)
Registers a conditional binding on the request flow.
|
AssignmentFilter |
AssignmentFilter.addRequestBinding(Expression<Boolean> condition,
LeftValueExpression<?> target,
Expression<?> value)
Registers a conditional binding on the request flow.
|
AssignmentFilter |
AssignmentFilter.addRequestBinding(LeftValueExpression<?> target,
Expression<?> value)
Registers an unconditional (always executed) 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<Boolean> condition,
LeftValueExpression<?> target,
Expression<?> value)
Registers a conditional binding on the response flow.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(Expression<Boolean> condition,
LeftValueExpression<?> target,
Expression<?> value)
Registers a conditional binding on the response flow.
|
AssignmentFilter |
AssignmentFilter.addResponseBinding(LeftValueExpression<?> target,
Expression<?> value)
Registers an unconditional (always executed) 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 |
---|
ConditionEnforcementFilter(Expression<Boolean> condition)
Creates a new
ConditionEnforcementFilter . |
ConditionEnforcementFilter(Expression<Boolean> condition,
Handler failureHandler)
Creates a new
ConditionEnforcementFilter . |
FileAttributesFilter(SeparatedValuesFile file,
String key,
Expression<String> value,
LeftValueExpression<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. |
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.
|
Constructor and Description |
---|
OAuth2ClientFilter(org.forgerock.openig.filter.oauth2.client.ClientRegistrationRepository registrations,
PerItemEvictionStrategyCache<String,Promise<Map<String,Object>,OAuth2ErrorException>> userInfoCache,
TimeService time,
Handler discoveryAndDynamicRegistrationChain,
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 |
---|---|
protected <T> Function<JsonValue,Expression<T>,JsonValueException> |
GenericHeaplet.expression(Class<T> type)
Returns a function that will create an
Expression from the string by the JsonValue using the
bindings defined in the heap of this Heaplet as initial bindings. |
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)
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> Function<JsonValue,Expression<T>,JsonValueException> |
JsonValues.expression(Class<T> type)
Returns a function for transforming JsonValues to expressions.
|
static <T> Function<JsonValue,Expression<T>,JsonValueException> |
JsonValues.expression(Class<T> type,
Bindings bindings)
Returns a function for transforming JsonValues to expressions.
|
Copyright 2011-2015 ForgeRock AS.