Uses of Class
org.forgerock.openig.el.Expression
Packages that use 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
.Miscellaneous utility classes.
-
Uses of Expression in org.forgerock.openig.decoration.baseuri
Methods in org.forgerock.openig.decoration.baseuri with parameters of type ExpressionModifier 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
Subclasses of Expression in org.forgerock.openig.elModifier and TypeClassDescriptionfinal class
ALeftValueExpression
is a specializedExpression
to which we can assign a value.Methods in org.forgerock.openig.el that return ExpressionModifier 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.Constructors in org.forgerock.openig.el with parameters of type ExpressionModifierConstructorDescriptionExpressionRequestAsyncFunction
(Expression<V> expression) Constructs anAsyncFunction
that evaluates the providedExpression
. -
Uses of Expression in org.forgerock.openig.filter
Methods in org.forgerock.openig.filter that return types with arguments of type ExpressionModifier 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.Methods in org.forgerock.openig.filter with parameters of type ExpressionModifier 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.Constructors in org.forgerock.openig.filter with parameters of type ExpressionModifierConstructorDescriptionConditionEnforcementFilter
(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
Methods in org.forgerock.openig.filter.jwt that return ExpressionModifier and TypeMethodDescriptionprotected Expression<String>
JwtValidationFilter.Heaplet.jwtExpression()
Returns the expression to be used to obtain the JWT token value.Constructors in org.forgerock.openig.filter.jwt with parameters of type ExpressionModifierConstructorDescriptionJwtValidationFilter
(Expression<String> jwtResolver, JwtValidator validator, Handler failureHandler) Constructs a JwtValidationFilter. -
Uses of Expression in org.forgerock.openig.filter.oauth2
Constructors in org.forgerock.openig.filter.oauth2 with parameters of type ExpressionModifierConstructorDescriptionOAuth2TokenExchangeFilter
(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
Methods in org.forgerock.openig.filter.oauth2.client that return ExpressionModifier and TypeMethodDescriptionprotected Expression<String>
IdTokenValidationFilterHeaplet.jwtExpression()
Methods in org.forgerock.openig.filter.oauth2.client with parameters of type ExpressionModifier 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.Constructors in org.forgerock.openig.filter.oauth2.client with parameters of type ExpressionModifierConstructorDescriptionOAuth2ClientFilter
(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
Constructors in org.forgerock.openig.filter.oauth2.cnf with parameters of type ExpressionModifierConstructorDescriptionCertificateThumbprintFilter
(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
Methods in org.forgerock.openig.handler with parameters of type ExpressionModifier 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.Constructors in org.forgerock.openig.handler with parameters of type ExpressionModifierConstructorDescriptionStaticResponseHandler
(Status status, Expression<String> entity) Constructor. -
Uses of Expression in org.forgerock.openig.heap
Methods in org.forgerock.openig.heap that return types with arguments of type ExpressionModifier 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
Methods in org.forgerock.openig.openam with parameters of type ExpressionModifier 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.Constructors in org.forgerock.openig.openam with parameters of type ExpressionModifierConstructorDescriptionSessionInfoFilter
(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
Methods in org.forgerock.openig.sql that return types with arguments of type ExpressionModifier 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
Methods in org.forgerock.openig.types that return types with arguments of type ExpressionModifier 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.util
Methods in org.forgerock.openig.util that return types with arguments of type ExpressionModifier 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.Methods in org.forgerock.openig.util with parameters of type ExpressionModifier 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.