/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/info/ |
H A D | ping.js | 28 if (request.method !== "read") { 29 throw "Unsupported operation on ping info service: " + request.method;
|
H A D | version.js | 28 if (request.method !== "read") { 29 throw "Unsupported operation on info version service: " + request.method;
|
H A D | login.js | 27 if (request.method === "read") { 30 throw "Unsupported operation on info login service: " + request.method;
|
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/infoservice/script/info/ |
H A D | customping.js | 4 if (request.method !== "read") { 5 throw "Unsupported operation on ping info service: " + request.method;
|
/forgerock/openidm-v4/openidm-audit/src/test/resources/container/ |
H A D | logfilter.js | 2 if (request.content.operation === 'create') { 5 } else if (request.content.operation === 'update') {
|
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/ |
H A D | policyFilter.js | 31 if (request.resourcePath.indexOf("policy/") !== 0 && enforce !== "false") { 32 if (request.method === "create") { 33 if (request.resourcePath === "") { 34 fullResourcePath = request.newResourceId !== null ? request.newResourceId : "*"; 36 fullResourcePath = request.resourcePath + "/" + (request.newResourceId !== null ? request.newResourceId : "*"); 39 fullResourcePath = request.resourcePath; 42 result = openidm.action("policy/" + fullResourcePath, "validateObject", request [all...] |
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/customendpoint/script/ |
H A D | echo.js | 25 if (request.method === "create") { 28 resourceName: request.resourcePath, 29 newResourceId: request.newResourceId, 30 parameters: request.additionalParameters, 31 content: request.content, 34 } else if (request.method === "read") { 37 resourceName: request.resourcePath, 38 parameters: request.additionalParameters, 41 } else if (request.method === "update") { 44 resourceName: request [all...] |
H A D | echo.groovy | 34 if (request instanceof CreateRequest) { 37 resourceName: request.resourcePath, 38 newResourceId: request.newResourceId, 39 parameters: request.additionalParameters, 40 content: request.content.getObject(), 43 } else if (request instanceof ReadRequest) { 46 resourceName: request.resourcePath, 47 parameters: request.additionalParameters, 50 } else if (request instanceof UpdateRequest) { 53 resourceName: request [all...] |
/forgerock/openam-v13/openam-http-client/src/main/java/org/forgerock/http/client/request/ |
H A D | package-info.java | 22 package org.forgerock.http.client.request
|
/forgerock/openam/openam-http-client/src/main/java/org/forgerock/http/client/request/ |
H A D | package-info.java | 22 package org.forgerock.http.client.request
|
/forgerock/openam-v13/openam-http-client/src/test/java/org/forgerock/http/client/request/ |
H A D | SimpleHttpClientRequestTest.java | 16 package org.forgerock.http.client.request; 33 HttpClientRequest request = new SimpleHttpClientRequest(); 34 request.setMethod(method); 36 assertSame(request.getMethod(), method, "Request method should match set method"); 43 HttpClientRequest request = new SimpleHttpClientRequest(); 44 request.setUri(uri); 46 assertSame(request.getUri(), uri, "Request URI should match set URI"); 53 HttpClientRequest request = new SimpleHttpClientRequest(); 54 request.setEntity(entity); 56 assertSame(request [all...] |
/forgerock/openam/openam-http-client/src/test/java/org/forgerock/http/client/request/ |
H A D | SimpleHttpClientRequestTest.java | 16 package org.forgerock.http.client.request; 33 HttpClientRequest request = new SimpleHttpClientRequest(); 34 request.setMethod(method); 36 assertSame(request.getMethod(), method, "Request method should match set method"); 43 HttpClientRequest request = new SimpleHttpClientRequest(); 44 request.setUri(uri); 46 assertSame(request.getUri(), uri, "Request URI should match set URI"); 53 HttpClientRequest request = new SimpleHttpClientRequest(); 54 request.setEntity(entity); 56 assertSame(request [all...] |
/forgerock/openam-v13/openam-authentication/openam-auth-scripted/src/main/java/org/forgerock/openam/authentication/modules/scripted/ |
H A D | ScriptHttpRequestWrapper.java | 26 * Wraps the http servlet request object so to expose script 33 private final HttpServletRequest request; field in class:ScriptHttpRequestWrapper 35 public ScriptHttpRequestWrapper(final HttpServletRequest request) { argument 36 Reject.ifNull(request); 37 this.request = request; 49 return request.getParameter(name); 61 return request.getParameterValues(name); 73 return request.getHeader(name); 86 final Enumeration<String> headerEnum = request [all...] |
/forgerock/openam/openam-authentication/openam-auth-scripted/src/main/java/org/forgerock/openam/authentication/modules/scripted/ |
H A D | ScriptHttpRequestWrapper.java | 26 * Wraps the http servlet request object so to expose script 33 private final HttpServletRequest request; field in class:ScriptHttpRequestWrapper 35 public ScriptHttpRequestWrapper(final HttpServletRequest request) { argument 36 Reject.ifNull(request); 37 this.request = request; 49 return request.getParameter(name); 61 return request.getParameterValues(name); 73 return request.getHeader(name); 86 final Enumeration<String> headerEnum = request [all...] |
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/ui/ |
H A D | oauthProxy.js | 2 if(request.method === "action") { 7 if (request.action === "getAuthZCode") { 8 connectorLocation = request.content.connectorLocation.replace("_", "/"); 16 request.content.body += "&client_secret=" + decryptedClientSecret; 18 request.content.body += "&client_secret=" + oAuthConfig.configurationProperties.clientSecret; 23 request.content["contentType"] = "application/x-www-form-urlencoded"; 25 return openidm.action("external/rest", "noop", request.content); 29 "message" : "Bad request only support _action methods getAuthZCode"
|
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/ |
H A D | PassThroughFilter.java | 32 public Promise<ActionResponse, ResourceException> filterAction(Context context, ActionRequest request, argument 34 return next.handleAction(context, request); 38 public Promise<ResourceResponse, ResourceException> filterCreate(Context context, CreateRequest request, argument 40 return next.handleCreate(context, request); 44 public Promise<ResourceResponse, ResourceException> filterDelete(Context context, DeleteRequest request, argument 46 return next.handleDelete(context, request); 50 public Promise<ResourceResponse, ResourceException> filterPatch(Context context, PatchRequest request, argument 52 return next.handlePatch(context, request); 56 public Promise<QueryResponse, ResourceException> filterQuery(Context context, QueryRequest request, argument 58 return next.handleQuery(context, request, handle 62 filterRead(Context context, ReadRequest request, RequestHandler next) argument 68 filterUpdate(Context context, UpdateRequest request, RequestHandler next) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/authentication/service/protocol/ |
H A D | RemoteServletRequest.java | 53 /* The request whos state is to be serialized 55 protected transient ServletRequest request = null; field in class:RemoteServletRequest 57 /* The fields to hold the state of the request 89 * Creates a ServletRequest adaptor wrapping the given request object. 91 * @param request The ServletRequest to be serialized 92 * @throws java.lang.IllegalArgumentException if the request is null 94 public RemoteServletRequest(ServletRequest request) { argument 101 if (request == null) { 105 this.request = request; 186 setRequest(ServletRequest request) argument [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/authentication/service/protocol/ |
H A D | RemoteServletRequest.java | 53 /* The request whos state is to be serialized 55 protected transient ServletRequest request = null; field in class:RemoteServletRequest 57 /* The fields to hold the state of the request 89 * Creates a ServletRequest adaptor wrapping the given request object. 91 * @param request The ServletRequest to be serialized 92 * @throws java.lang.IllegalArgumentException if the request is null 94 public RemoteServletRequest(ServletRequest request) { argument 101 if (request == null) { 105 this.request = request; 186 setRequest(ServletRequest request) argument [all...] |
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/exceptions/ |
H A D | ClientAuthenticationFailureFactory.java | 30 * Produces an InvalidClientException. Used for cases where information about the request is unknown. 38 * Produces an InvalidClientException. Used for cases where information about the request is unknown. 47 * Produces an InvalidClientException or InvalidClientAuthZHeaderException based on the request provided. 49 * @param request The request that has failed to authenticate the user 51 * @return InvalidClientException or InvalidClientAuthZHeaderException, dependant on if the request uses 54 public InvalidClientException getException(OAuth2Request request, String message) { argument 55 if(request != null && hasAuthorizationHeader(request)) { 56 return new InvalidClientAuthZHeaderException(message, "Basic", getRealm(request)); 66 hasAuthorizationHeader(OAuth2Request request) argument 73 getRealm(OAuth2Request request) argument [all...] |
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/common/ |
H A D | ISSOTokenValidator.java | 59 public abstract SSOValidationResult validate(HttpServletRequest request); argument 62 HttpServletRequest request); 64 public abstract String getSSOTokenValue(HttpServletRequest request); argument 66 public abstract String getClientIPAddress(HttpServletRequest request); argument 68 public abstract String getClientHostName(HttpServletRequest request); argument 70 public abstract String getAppName(HttpServletRequest request); argument 61 validate(String ssoTokenID, HttpServletRequest request) argument
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/exceptions/ |
H A D | ClientAuthenticationFailureFactory.java | 30 * Produces an InvalidClientException. Used for cases where information about the request is unknown. 38 * Produces an InvalidClientException. Used for cases where information about the request is unknown. 47 * Produces an InvalidClientException or InvalidClientAuthZHeaderException based on the request provided. 49 * @param request The request that has failed to authenticate the user 51 * @return InvalidClientException or InvalidClientAuthZHeaderException, dependant on if the request uses 54 public InvalidClientException getException(OAuth2Request request, String message) { argument 55 if(request != null && hasAuthorizationHeader(request)) { 56 return new InvalidClientAuthZHeaderException(message, "Basic", getRealm(request)); 66 hasAuthorizationHeader(OAuth2Request request) argument 73 getRealm(OAuth2Request request) argument [all...] |
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/fluent/ |
H A D | AuditFilter.java | 72 * Records an 'access' audit event before and after the filtered CREST resource receives an action request. 74 * If the 'before' audit event fails due to an error, the request is cancelled and an error response is returned. 75 * If the 'after' audit event fails due to an error, the request is not cancelled as it's affects may have already 79 * @param request {@inheritDoc} 83 public Promise<ActionResponse, ResourceException> filterAction(Context context, ActionRequest request, argument 86 final CrestAuditor auditor = newAuditor(context, request); 89 return auditResponse(next.handleAction(context, request), auditor, request); 93 * Records an 'access' audit event before and after the filtered CREST resource receives an create request. 95 * If the 'before' audit event fails due to an error, the request i 104 filterCreate(Context context, CreateRequest request, RequestHandler next) argument 125 filterDelete(Context context, DeleteRequest request, RequestHandler next) argument 146 filterPatch(Context context, PatchRequest request, RequestHandler next) argument 168 filterQuery(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) argument 189 filterRead(Context context, ReadRequest request, RequestHandler next) argument 210 filterUpdate(Context context, UpdateRequest request, RequestHandler next) argument 219 auditResponse(Promise<T, ResourceException> promise, final CrestAuditor auditingHandler, final Request request) argument 242 newAuditor(Context context, Request request) argument 254 getDetail(Request request, Response response) argument 290 getCreateSuccessDetail(CreateRequest request, ResourceResponse response) argument 304 getReadSuccessDetail(ReadRequest request, ResourceResponse response) argument 318 getUpdateSuccessDetail(UpdateRequest request, ResourceResponse response) argument 332 getDeleteSuccessDetail(DeleteRequest request, ResourceResponse response) argument 346 getPatchSuccessDetail(PatchRequest request, ResourceResponse response) argument 360 getActionSuccessDetail(ActionRequest request, ActionResponse response) argument 374 getQuerySuccessDetail(QueryRequest request, QueryResponse response) argument [all...] |
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/fluent/ |
H A D | AuditFilter.java | 72 * Records an 'access' audit event before and after the filtered CREST resource receives an action request. 74 * If the 'before' audit event fails due to an error, the request is cancelled and an error response is returned. 75 * If the 'after' audit event fails due to an error, the request is not cancelled as it's affects may have already 79 * @param request {@inheritDoc} 83 public Promise<ActionResponse, ResourceException> filterAction(Context context, ActionRequest request, argument 86 final CrestAuditor auditor = newAuditor(context, request); 89 return auditResponse(next.handleAction(context, request), auditor, request); 93 * Records an 'access' audit event before and after the filtered CREST resource receives an create request. 95 * If the 'before' audit event fails due to an error, the request i 104 filterCreate(Context context, CreateRequest request, RequestHandler next) argument 125 filterDelete(Context context, DeleteRequest request, RequestHandler next) argument 146 filterPatch(Context context, PatchRequest request, RequestHandler next) argument 168 filterQuery(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) argument 189 filterRead(Context context, ReadRequest request, RequestHandler next) argument 210 filterUpdate(Context context, UpdateRequest request, RequestHandler next) argument 219 auditResponse(Promise<T, ResourceException> promise, final CrestAuditor auditingHandler, final Request request) argument 242 newAuditor(Context context, Request request) argument 254 getDetail(Request request, Response response) argument 290 getCreateSuccessDetail(CreateRequest request, ResourceResponse response) argument 304 getReadSuccessDetail(ReadRequest request, ResourceResponse response) argument 318 getUpdateSuccessDetail(UpdateRequest request, ResourceResponse response) argument 332 getDeleteSuccessDetail(DeleteRequest request, ResourceResponse response) argument 346 getPatchSuccessDetail(PatchRequest request, ResourceResponse response) argument 360 getActionSuccessDetail(ActionRequest request, ActionResponse response) argument 374 getQuerySuccessDetail(QueryRequest request, QueryResponse response) argument [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/ |
H A D | FederateCookieRedirector.java | 30 * @param request the SAML2 request 32 * @param isIDP whether this request was from an IDP 36 HttpServletRequest request, HttpServletResponse response, 40 * Sets the cookie for the SAML2 Request and redirects the request. 42 * @param request the SAML2 Request object 44 * @param isIDP whether this request was from and idp 47 void setCookieAndRedirect(HttpServletRequest request, HttpServletResponse response, argument 51 * Sets the cookie for the SAML2 Request and redirects the request. 53 * @param request th 35 isCookieSet( HttpServletRequest request, HttpServletResponse response, boolean isIDP) argument 57 ifNoCookieIsSetThenSetTheCookieThenRedirectToANewRequestAndReturnTrue( HttpServletRequest request, HttpServletResponse response, boolean isIDP) argument 70 needSetLBCookieAndRedirect( HttpServletRequest request, HttpServletResponse response, boolean isIDP) argument [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/servlet/ |
H A D | WSFederationAction.java | 38 * This is the base class for WS-Federation request and response handling. 41 protected HttpServletRequest request; field in class:WSFederationAction 46 * @param request HTTPServletRequest for this interaction 49 public WSFederationAction(HttpServletRequest request, argument 51 this.request = request; 56 * Processes the sign-out request, returning a response via the
|