Uses of Class
org.forgerock.openig.el.Expression
Package
Description
Contains a decorator which overrides the existing request URI, making requests relative to
a new base URI.
Integrates with the Java Enterprise Edition Unified Expression Language API.
Filters the requests and/or responses of HTTP.
This package contains the components used to implement some JWT related filter.
This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.
OAuth 2.0 Client filter implementation.
JWT confirmation key support for access tokens.
Handles HTTP requests by generating responses.
Manages collections or "heaps" of associated objects, initialized from
declarative configuration artifacts.
Integration classes specifically for ForgeRock Access Management.
Provides SQL and JDBC support.
Contains everything commonly used to work with
TypeDefinition
.Route import support.
Miscellaneous utility classes.
-
Uses of Expression in org.forgerock.openig.decoration.baseuri
Modifier and TypeMethodDescriptionBaseUriFactory.wrap
(T delegate, Expression<String> baseUriExpression, org.slf4j.Logger logger) Wraps the decorator to be applied everywhere. -
Uses of Expression in org.forgerock.openig.el
Modifier and TypeClassDescriptionfinal class
ALeftValueExpression
is a specializedExpression
to which we can assign a value.Modifier and TypeMethodDescriptionstatic Expression<Object>
Convert a String to a compiled expression.static Expression<Object>
Convert a String to a compiled expression.static <T> Expression<T>
Factory method to create an Expression.static <T> Expression<T>
Factory method to create an Expression.ModifierConstructorDescriptionExpressionRequestAsyncFunction
(Expression<V> expression) Constructs anAsyncFunction
that evaluates the providedExpression
. -
Uses of Expression in org.forgerock.openig.filter
Modifier and TypeMethodDescriptionHeaderFilter.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.Modifier and TypeMethodDescriptionStaticRequestFilter.addFormParameter
(String name, Expression<String> value) Adds a new form parameter using the givenkey
with the givenExpression
.StaticRequestFilter.addHeaderValue
(String key, Expression<String> value) Adds a new header value using the givenkey
with the givenExpression
.AssignmentFilter.addRequestBinding
(Expression<Boolean> condition, LeftValueExpression<?> target, Expression<?> value) Registers a conditional binding on the request flow.AssignmentFilter.addRequestBinding
(LeftValueExpression<?> target, Expression<?> value) Registers an unconditional (always executed) binding on the request flow.SwitchFilter.addRequestCase
(Expression<Boolean> condition, Handler handler) Add a request switch case with a condition and the handler to execute if condition yields.AssignmentFilter.addResponseBinding
(Expression<Boolean> condition, LeftValueExpression<?> target, Expression<?> value) Registers a conditional binding on the response flow.AssignmentFilter.addResponseBinding
(LeftValueExpression<?> target, Expression<?> value) Registers an unconditional (always executed) binding on the response flow.SwitchFilter.addResponseCase
(Expression<Boolean> condition, Handler handler) Add a response switch case with a condition and the handler to execute if condition yields.RetryFilter.Builder.condition
(Expression<Boolean> condition) Add a retry condition to the futureRetryFilter
.RetryFilter.Builder.runtimeExceptionCondition
(Expression<Boolean> condition) Add a runtime exception retry condition to the futureRetryFilter
.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.ModifierConstructorDescriptionConditionEnforcementFilter
(Expression<Boolean> condition) Creates a newConditionEnforcementFilter
.ConditionEnforcementFilter
(Expression<Boolean> condition, Handler failureHandler) Creates a newConditionEnforcementFilter
.FileAttributesFilter
(SeparatedValuesFile file, String key, Expression<String> value, LeftValueExpression<Map> target) Deprecated, for removal: This API element is subject to removal in a future version.use the other constructor instead.HttpBasicAuthFilter
(Expression<String> username, Expression<String> password, Handler failureHandler) Builds aHttpBasicAuthFilter
with required expressions and error handler. -
Uses of Expression in org.forgerock.openig.filter.jwt
Modifier and TypeMethodDescriptionprotected Expression<String>
JwtValidationFilter.Heaplet.jwtExpression()
Returns the expression to be used to obtain the JWT token value.ModifierConstructorDescriptionJwtValidationFilter
(Expression<String> jwtResolver, JwtValidator validator, Handler failureHandler) Constructs a JwtValidationFilter. -
Uses of Expression in org.forgerock.openig.filter.oauth2
ModifierConstructorDescriptionOAuth2TokenExchangeFilter
(URI endpoint, Handler handler, Expression<String> subjectTokenExpression, String subjectTokenType, String requestedTokenType, ResourceAccess scopesAccess, URI resource, String audience, Handler failureHandler) Construct a newOAuth2TokenExchangeFilter
. -
Uses of Expression in org.forgerock.openig.filter.oauth2.client
Modifier and TypeMethodDescriptionprotected Expression<String>
IdTokenValidationFilterHeaplet.jwtExpression()
Modifier and TypeMethodDescriptionOAuth2ClientFilter.setDefaultLoginGoto
(Expression<String> endpoint) Sets the expression which will be used for obtaining the default login "goto" URI.OAuth2ClientFilter.setDefaultLogoutGoto
(Expression<String> endpoint) Sets the expression which will be used for obtaining the default logout "goto" URI.ModifierConstructorDescriptionOAuth2ClientFilter
(org.forgerock.openig.filter.oauth2.client.ClientRegistrationRepository registrations, PerItemEvictionStrategyCache<String, Promise<Map<String, Object>, OAuth2ErrorException>> userInfoCache, String prompt, org.forgerock.openig.filter.oauth2.client.UriValidationService validationService, Clock clock, Handler discoveryAndDynamicRegistrationChain, Expression<String> clientEndpoint, Handler idpSelectionLoginPageHandler) Constructs anOAuth2ClientFilter
. -
Uses of Expression in org.forgerock.openig.filter.oauth2.cnf
ModifierConstructorDescriptionCertificateThumbprintFilter
(Expression<Certificate> certExpr, Handler failureHandler) Build a CertificateThumbprintFilter that will compute a certificate thumbprint based on the givencertExpr
. -
Uses of Expression in org.forgerock.openig.handler
Modifier and TypeMethodDescriptionDispatchHandler.addBinding
(Expression<Boolean> condition, Handler handler, Expression<String> baseURI) Binds an expression to the current handler to dispatch to.SequenceHandler.addBinding
(Handler handler, Expression<Boolean> postCondition) Binds sequenced handlers with sequence processing post-conditions.StaticResponseHandler.addHeader
(String key, Expression<String> expression) Adds a pair key / expression to the header.StaticResponseHandler.addTrailer
(String key, Expression<String> expression) Adds a pair key / expression to the trailer.DispatchHandler.addUnconditionalBinding
(Handler handler, Expression<String> baseURI) Adds an unconditional bindings to the handler.ModifierConstructorDescriptionStaticResponseHandler
(Status status, Expression<String> entity) Constructor. -
Uses of Expression in org.forgerock.openig.heap
Modifier and TypeMethodDescriptionprotected <T> Function<JsonValue,
Expression<T>, JsonValueException> GenericHeaplet.expression
(Class<T> type) Returns a function that will create anExpression
from the string by theJsonValue
using the bindings defined in the heap of this Heaplet as initial bindings. -
Uses of Expression in org.forgerock.openig.openam
Modifier and TypeMethodDescriptionvoid
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.ModifierConstructorDescriptionSessionInfoFilter
(SessionService sessionService, Expression<String> ssoToken) Creates a new OpenAM session info filter.TokenTransformationFilter
(Handler handler, URI endpoint, Expression<String> idToken) Constructs a new TokenTransformationFilter transforming the OpenID Connect id_token fromidToken
into a SAML 2.0 Assertions structure (intoStsContext
). -
Uses of Expression in org.forgerock.openig.sql
Modifier and TypeMethodDescriptionList<Expression<?>>
SqlAttributesFilter.getParameters()
Returns the list of parameters to evaluate and include in the execution of the prepared statement. -
Uses of Expression in org.forgerock.openig.types
Modifier and TypeMethodDescriptionstatic <T> org.forgerock.openig.model.type.StringTypeDefinition<Expression<T>>
TypeDefinitions.expressionOf
(Class<T> type) Represents a runtimeExpression
of type T, which is a String with a specificSyntax
.static <T> org.forgerock.openig.model.type.Syntax<Expression<T>>
TypeDefinitions.expressionSyntaxOf
(Class<T> type) Creates an expressionSyntax
that is bound to the giventype
. -
Uses of Expression in org.forgerock.openig.types.importer
Modifier and TypeMethodDescriptionRouteInstance.condition()
Returns the condition expression of this route.Modifier and TypeMethodDescriptionRouteInstance.condition
(Expression<Boolean> condition) Sets the condition expression that describes what requests are accepted by this route. -
Uses of Expression in org.forgerock.openig.util
Modifier and TypeMethodDescriptionstatic <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.Modifier and TypeMethodDescriptionstatic Promise<Request,
URISyntaxException> BaseUriUtil.rebaseRequest
(Expression<String> baseUri, Bindings bindings, Request request) Rebase the URI of the request based on the evaluation of the baseUri expression.