Searched defs:messageInfo (Results 1 - 18 of 18) sorted by relevance

/forgerock/openam/openam-authentication/openam-auth-common/src/main/java/org/forgerock/openam/authentication/modules/common/
H A DJaspiAuthLoginModule.java102 MessageInfo messageInfo = jaspiAuthModule.prepareMessageInfo(getHttpServletRequest(),
104 if (process(messageInfo, clientSubject, callbacks)) {
105 AuthStatus authStatus = jaspiAuthModule.validateRequest(messageInfo, clientSubject);
133 * @param messageInfo The ServerAuthModules MessageInfo instance.
139 protected abstract boolean process(MessageInfo messageInfo, Subject clientSubject, Callback[] callbacks) argument
H A DJaspiAuthLoginModulePostAuthenticationPlugin.java80 MessageInfo messageInfo = jaspiAuthModule.prepareMessageInfo(request, response);
82 onLoginSuccess(messageInfo, requestParamsMap, request, response, ssoToken);
84 AuthStatus authStatus = jaspiAuthModule.secureResponse(messageInfo);
112 * @param messageInfo The ServerAuthModules MessageInfo instance.
119 protected abstract void onLoginSuccess(MessageInfo messageInfo, Map requestParamsMap, HttpServletRequest request, argument
H A DJaspiAuthModuleWrapper.java96 * @param messageInfo Object capturing information about the ongoing request.
101 public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject) throws AuthException { argument
102 return serverAuthModule.validateRequest(messageInfo, clientSubject, null);
107 * @param messageInfo Object capturing information about the ongoing request.
111 public AuthStatus secureResponse(MessageInfo messageInfo) throws AuthException { argument
112 return serverAuthModule.secureResponse(messageInfo, null);
/forgerock/openam/openam-authentication/openam-auth-persistentcookie/src/main/java/org/forgerock/openam/authentication/modules/persistentcookie/
H A DPersistentCookieAuthModulePostAuthenticationPlugin.java107 * @param messageInfo {@inheritDoc}
115 public void onLoginSuccess(MessageInfo messageInfo, Map requestParamsMap, HttpServletRequest request, argument
119 Map<String, Object> contextMap = persistentCookieModuleWrapper.getContextMap(messageInfo);
129 messageInfo.getMap().put(JwtSessionModule.JWT_VALIDATED_KEY, Boolean.parseBoolean(jwtString));
H A DPersistentCookieAuthModule.java171 MessageInfo messageInfo = persistentCookieModuleWrapper.prepareMessageInfo(getHttpServletRequest(),
173 if (process(messageInfo, clientSubject, callbacks)) {
191 * @param messageInfo {@inheritDoc}
198 protected boolean process(MessageInfo messageInfo, Subject clientSubject, Callback[] callbacks) argument
201 final Jwt jwt = persistentCookieModuleWrapper.validateJwtSessionCookie(messageInfo);
H A DPersistentCookieModuleWrapper.java152 * @param messageInfo The MessageInfo instance.
155 public Jwt validateJwtSessionCookie(MessageInfo messageInfo) { argument
156 return getServerAuthModule().validateJwtSessionCookie(messageInfo);
160 * Ensures the context map exists within the messageInfo object, and then returns the context map to be used.
163 * @param messageInfo The MessageInfo instance.
164 * @return The context map internal to the messageInfo's map.
166 public Map<String, Object> getContextMap(MessageInfo messageInfo) { argument
167 return getServerAuthModule().getContextMap(messageInfo);
175 * @param messageInfo The {@code MessageInfo} which contains the Response with the Jwt Session Cookie.
177 public void deleteSessionJwtCookie(MessageInfo messageInfo) { argument
[all...]
/forgerock/jee-agents-v3.5/jee-agents-jsr196/src/main/java/com/sun/opensso/agents/jsr196/
H A DOpenSSOServerAuthModule.java117 public void cleanSubject(MessageInfo messageInfo, Subject subject) argument
131 public AuthStatus secureResponse(MessageInfo messageInfo, argument
142 public AuthStatus validateRequest(MessageInfo messageInfo, argument
146 HttpServletRequest request = (HttpServletRequest)messageInfo.getRequestMessage();
147 HttpServletResponse response = (HttpServletResponse)messageInfo.getResponseMessage();
/forgerock/openidm-v4/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/modules/
H A DTrustedRequestAttributeAuthModule.java89 * @param messageInfo {@inheritDoc}
95 public Promise<AuthStatus, AuthenticationException> validateRequest(MessageInfoContext messageInfo, argument
98 SecurityContextMapper securityContextMapper = SecurityContextMapper.fromMessageInfo(messageInfo);
99 final JsonValue attributes = json(messageInfo.asContext(AttributesContext.class).getAttributes());
119 * @param messageInfo {@inheritDoc}
124 public Promise<AuthStatus, AuthenticationException> secureResponse(MessageInfoContext messageInfo, argument
132 * @param messageInfo {@inheritDoc}
137 public Promise<Void, AuthenticationException> cleanSubject(MessageInfoContext messageInfo, Subject subject) { argument
H A DClientCertAuthModule.java115 * @param messageInfo {@inheritDoc}
121 public Promise<AuthStatus, AuthenticationException> validateRequest(MessageInfoContext messageInfo, Subject clientSubject, argument
124 SecurityContextMapper securityContextMapper = SecurityContextMapper.fromMessageInfo(messageInfo);
126 Request req = messageInfo.getRequest();
133 if (authenticateUsingClientCert(messageInfo, req, securityContextMapper)) {
227 * @param messageInfo {@inheritDoc}
232 public Promise<AuthStatus, AuthenticationException> secureResponse(MessageInfoContext messageInfo, argument
240 * @param messageInfo {@inheritDoc}
245 public Promise<Void, AuthenticationException> cleanSubject(MessageInfoContext messageInfo, Subject subject) { argument
H A DDelegatedAuthModule.java123 * @param messageInfo {@inheritDoc}
129 public Promise<AuthStatus, AuthenticationException> validateRequest(MessageInfoContext messageInfo, argument
134 SecurityContextMapper securityContextMapper = SecurityContextMapper.fromMessageInfo(messageInfo);
135 Request request = messageInfo.getRequest();
140 if (authenticate(IDMAuthModuleWrapper.HEADER_AUTH_CRED_HELPER.getCredential(request), messageInfo, securityContextMapper)
141 || authenticate(IDMAuthModuleWrapper.BASIC_AUTH_CRED_HELPER.getCredential(request), messageInfo, securityContextMapper)) {
165 private boolean authenticate(IDMAuthModuleWrapper.Credential credential, MessageInfoContext messageInfo, argument
186 final JsonValue messageMap = new JsonValue(messageInfo.getRequestContextMap());
197 messageInfo.getRequestContextMap().put(AuditTrail.AUDIT_FAILURE_REASON_KEY, e.toJsonValue().asMap());
210 * @param messageInfo {
215 secureResponse(MessageInfoContext messageInfo, Subject serviceSubject) argument
228 cleanSubject(MessageInfoContext messageInfo, Subject subject) argument
[all...]
H A DSecurityContextMapper.java56 private SecurityContextMapper(MessageInfoContext messageInfo) { argument
57 messageInfoMap = messageInfo.getRequestContextMap();
72 * @param messageInfo The MessageInfo instance.
75 static SecurityContextMapper fromMessageInfo(MessageInfoContext messageInfo) { argument
76 return new SecurityContextMapper(messageInfo);
H A DIDMAuthModuleWrapper.java287 * @param messageInfo {@inheritDoc}
294 public Promise<AuthStatus, AuthenticationException> validateRequest(final MessageInfoContext messageInfo, argument
298 setClientIPAddress(messageInfo);
300 return authModule.validateRequest(messageInfo, clientSubject, serviceSubject)
326 final ResourceResponse resource = getAuthenticatedResource(principalName, messageInfo);
329 SecurityContextMapper.fromMessageInfo(messageInfo)
379 private ResourceResponse getAuthenticatedResource(String principalName, MessageInfoContext messageInfo) argument
382 if (messageInfo.getRequestContextMap().containsKey(AUTHENTICATED_RESOURCE)) {
383 JsonValue resourceDetail = new JsonValue(messageInfo.getRequestContextMap().get(AUTHENTICATED_RESOURCE));
395 private void setClientIPAddress(MessageInfoContext messageInfo) { argument
409 getContextMap(MessageInfoContext messageInfo) argument
423 secureResponse(MessageInfoContext messageInfo, Subject serviceSubject) argument
444 cleanSubject(MessageInfoContext messageInfo, Subject clientSubject) argument
[all...]
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/
H A DLocalSSOTokenSessionModule.java144 * @param messageInfo {@inheritDoc}
150 public Promise<AuthStatus, AuthenticationException> validateRequest(final MessageInfoContext messageInfo, argument
156 final HttpServletRequest request = (HttpServletRequest) messageInfo.asContext(AttributesContext.class).getAttributes().get(HttpServletRequest.class.getName());
165 return validate(request, messageInfo, clientSubject);
175 return validate(request, messageInfo, clientSubject);
194 * @param messageInfo A contextual object that encapsulates the client request and server response objects, and
203 MessageInfoContext messageInfo, Subject clientSubject) {
230 (Map<String, Object>) messageInfo.getRequestContextMap().get("org.forgerock.authentication.context");
249 * @param messageInfo {@inheritDoc}
254 public Promise<AuthStatus, AuthenticationException> secureResponse(MessageInfoContext messageInfo, argument
202 validate(HttpServletRequest request, MessageInfoContext messageInfo, Subject clientSubject) argument
267 cleanSubject(MessageInfoContext messageInfo, Subject subject) argument
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-common/src/main/java/org/forgerock/openam/authentication/modules/common/
H A DJaspiAuthModuleWrapper.java112 MessageInfo messageInfo = prepareMessageInfo(getHttpServletRequest(), getHttpServletResponse());
113 if (process(messageInfo, clientSubject, callbacks)) {
114 AuthStatus authStatus = serverAuthModule.validateRequest(messageInfo, clientSubject, null);
145 * @param messageInfo The ServerAuthModules MessageInfo instance.
151 protected abstract boolean process(MessageInfo messageInfo, Subject clientSubject, Callback[] callbacks) argument
173 MessageInfo messageInfo = prepareMessageInfo(request, response);
175 onLoginSuccess(messageInfo, requestParamsMap, request, response, ssoToken);
177 AuthStatus authStatus = serverAuthModule.secureResponse(messageInfo, null);
218 * @param messageInfo The ServerAuthModules MessageInfo instance.
225 protected abstract void onLoginSuccess(MessageInfo messageInfo, Ma argument
[all...]
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/
H A DLocalSSOTokenSessionModule.java144 * @param messageInfo {@inheritDoc}
150 public Promise<AuthStatus, AuthenticationException> validateRequest(final MessageInfoContext messageInfo, argument
156 final HttpServletRequest request = (HttpServletRequest) messageInfo.asContext(AttributesContext.class).getAttributes().get(HttpServletRequest.class.getName());
165 return validate(request, messageInfo, clientSubject);
175 return validate(request, messageInfo, clientSubject);
194 * @param messageInfo A contextual object that encapsulates the client request and server response objects, and
203 MessageInfoContext messageInfo, Subject clientSubject) {
230 (Map<String, Object>) messageInfo.getRequestContextMap().get("org.forgerock.authentication.context");
249 * @param messageInfo {@inheritDoc}
254 public Promise<AuthStatus, AuthenticationException> secureResponse(MessageInfoContext messageInfo, argument
202 validate(HttpServletRequest request, MessageInfoContext messageInfo, Subject clientSubject) argument
267 cleanSubject(MessageInfoContext messageInfo, Subject subject) argument
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-persistentcookie/src/main/java/org/forgerock/openam/authentication/modules/persistentcookie/
H A DPersistentCookieAuthModule.java222 MessageInfo messageInfo = prepareMessageInfo(getHttpServletRequest(), getHttpServletResponse());
223 if (process(messageInfo, clientSubject, callbacks)) {
238 * @param messageInfo {@inheritDoc}
245 protected boolean process(MessageInfo messageInfo, Subject clientSubject, Callback[] callbacks) argument
248 final Jwt jwt = getServerAuthModule().validateJwtSessionCookie(messageInfo);
362 * @param messageInfo {@inheritDoc}
370 public void onLoginSuccess(MessageInfo messageInfo, Map requestParamsMap, HttpServletRequest request, argument
374 Map<String, Object> contextMap = getServerAuthModule().getContextMap(messageInfo);
384 messageInfo.getMap().put(JwtSessionModule.JWT_VALIDATED_KEY, Boolean.parseBoolean(jwtString));
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/configurator/
H A DDriver.java314 public void printConsoleMessageWithMarkers(I18NInfo messageInfo) { argument
317 LocalizedMessage message = LocalizedMessage.get(messageInfo
318 .getKey(), messageInfo.getGroup());
330 public void printConsoleMessage(I18NInfo messageInfo) { argument
333 LocalizedMessage message = LocalizedMessage.get(messageInfo
334 .getKey(), messageInfo.getGroup());
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/configurator/
H A DDriver.java314 public void printConsoleMessageWithMarkers(I18NInfo messageInfo) { argument
317 LocalizedMessage message = LocalizedMessage.get(messageInfo
318 .getKey(), messageInfo.getGroup());
330 public void printConsoleMessage(I18NInfo messageInfo) { argument
333 LocalizedMessage message = LocalizedMessage.get(messageInfo
334 .getKey(), messageInfo.getGroup());

Completed in 291 milliseconds