Searched refs:RedirectCallback (Results 1 - 25 of 28) sorted by relevance

12

/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/callbackhandlers/
H A DRestAuthRedirectCallbackHandler.java21 import com.sun.identity.authentication.spi.RedirectCallback;
29 * Defines methods to handle a RedirectCallback.
31 public class RestAuthRedirectCallbackHandler extends AbstractRestAuthCallbackHandler<RedirectCallback> {
33 private static final String CALLBACK_NAME = "RedirectCallback";
42 RedirectCallback callback) throws RestAuthResponseException {
49 public RedirectCallback handle(HttpServletRequest request, HttpServletResponse response,
50 JsonValue postBody, RedirectCallback originalCallback) {
62 * Converts the {@code RedirectCallback} into a JSON representation.
66 public JsonValue convertToJson(RedirectCallback callback, int index) throws RestAuthException {
90 public RedirectCallback convertFromJso
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/callbackhandlers/
H A DRestAuthRedirectCallbackHandler.java21 import com.sun.identity.authentication.spi.RedirectCallback;
29 * Defines methods to handle a RedirectCallback.
31 public class RestAuthRedirectCallbackHandler extends AbstractRestAuthCallbackHandler<RedirectCallback> {
33 private static final String CALLBACK_NAME = "RedirectCallback";
42 RedirectCallback callback) throws RestAuthResponseException {
49 public RedirectCallback handle(HttpServletRequest request, HttpServletResponse response,
50 JsonValue postBody, RedirectCallback originalCallback) {
62 * Converts the {@code RedirectCallback} into a JSON representation.
66 public JsonValue convertToJson(RedirectCallback callback, int index) throws RestAuthException {
90 public RedirectCallback convertFromJso
[all...]
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/callbackhandlers/
H A DRestAuthRedirectCallbackHandlerTest.java27 import com.sun.identity.authentication.spi.RedirectCallback;
41 private RestAuthCallbackHandler<RedirectCallback> restAuthRedirectCallbackHandler;
58 assertEquals(RedirectCallback.class.getSimpleName(), callbackClassName);
68 RedirectCallback originalRedirectCallback = mock(RedirectCallback.class);
71 RedirectCallback redirectCallback = restAuthRedirectCallbackHandler.handle(request, response, jsonPostBody,
82 RedirectCallback redirectCallback = mock(RedirectCallback.class);
93 assertThat(json.get("type").asString()).isEqualTo("RedirectCallback");
109 RedirectCallback redirectCallbac
[all...]
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/callbackhandlers/
H A DRestAuthRedirectCallbackHandlerTest.java27 import com.sun.identity.authentication.spi.RedirectCallback;
41 private RestAuthCallbackHandler<RedirectCallback> restAuthRedirectCallbackHandler;
58 assertEquals(RedirectCallback.class.getSimpleName(), callbackClassName);
68 RedirectCallback originalRedirectCallback = mock(RedirectCallback.class);
71 RedirectCallback redirectCallback = restAuthRedirectCallbackHandler.handle(request, response, jsonPostBody,
82 RedirectCallback redirectCallback = mock(RedirectCallback.class);
93 assertThat(json.get("type").asString()).isEqualTo("RedirectCallback");
109 RedirectCallback redirectCallbac
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/spi/
H A DRedirectCallback.java25 * $Id: RedirectCallback.java,v 1.5 2008/08/19 19:08:55 veiming Exp $
38 * This <code>RedirectCallback</code> class implements <code>Callback</code>
43 public class RedirectCallback implements Callback, java.io.Serializable { class in inherits:Callback,java.io.Serializable
64 * Constructs a <code>RedirectCallback</code> object.
66 public RedirectCallback() { method in class:RedirectCallback
70 * Constructs a <code>RedirectCallback</code> object with
77 public RedirectCallback(String redirectUrl, Map redirectData, method in class:RedirectCallback
85 * Constructs a <code>RedirectCallback</code> object with
97 public RedirectCallback(String redirectUrl, Map redirectData, method in class:RedirectCallback
223 * Gets the value of this RedirectCallback'
[all...]
H A DAMLoginModule.java459 } else if (original[i] instanceof RedirectCallback) {
460 RedirectCallback rc = (RedirectCallback) original[i];
461 copy[i] = new RedirectCallback(rc.getRedirectUrl(),
H A DAMModuleProperties.java520 new RedirectCallback(redirectUrl,redirectData,
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/spi/
H A DRedirectCallback.java25 * $Id: RedirectCallback.java,v 1.5 2008/08/19 19:08:55 veiming Exp $
38 * This <code>RedirectCallback</code> class implements <code>Callback</code>
43 public class RedirectCallback implements Callback, java.io.Serializable { class in inherits:Callback,java.io.Serializable
64 * Constructs a <code>RedirectCallback</code> object.
66 public RedirectCallback() { method in class:RedirectCallback
70 * Constructs a <code>RedirectCallback</code> object with
77 public RedirectCallback(String redirectUrl, Map redirectData, method in class:RedirectCallback
85 * Constructs a <code>RedirectCallback</code> object with
97 public RedirectCallback(String redirectUrl, Map redirectData, method in class:RedirectCallback
223 * Gets the value of this RedirectCallback'
[all...]
H A DAMLoginModule.java467 } else if (original[i] instanceof RedirectCallback) {
468 RedirectCallback rc = (RedirectCallback) original[i];
469 copy[i] = new RedirectCallback(rc.getRedirectUrl(),
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/share/
H A DRedirectCallbackHandler.java20 import com.sun.identity.authentication.spi.RedirectCallback;
44 * @param redirectCallback The RedirectCallback.
48 RedirectCallback redirectCallback, String loginURL) {
69 RedirectCallback redirectCallback, String loginURL) throws IOException {
H A DAuthXMLUtils.java40 import com.sun.identity.authentication.spi.RedirectCallback;
434 } else if (callbacks[i] instanceof RedirectCallback) {
435 RedirectCallback redirectCallback =
436 (RedirectCallback) callbacks[i];
848 static RedirectCallback createRedirectCallback(Node childNode,
851 RedirectCallback redirectCallback = null;
854 if (callback instanceof RedirectCallback) {
855 redirectCallback = (RedirectCallback) callback;
877 redirectCallback = new RedirectCallback(redirectURL,redirectData,
1404 RedirectCallback redirectCallbac
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/share/
H A DRedirectCallbackHandler.java20 import com.sun.identity.authentication.spi.RedirectCallback;
44 * @param redirectCallback The RedirectCallback.
48 RedirectCallback redirectCallback, String loginURL) {
69 RedirectCallback redirectCallback, String loginURL) throws IOException {
H A DAuthXMLUtils.java40 import com.sun.identity.authentication.spi.RedirectCallback;
434 } else if (callbacks[i] instanceof RedirectCallback) {
435 RedirectCallback redirectCallback =
436 (RedirectCallback) callbacks[i];
848 static RedirectCallback createRedirectCallback(Node childNode,
851 RedirectCallback redirectCallback = null;
854 if (callback instanceof RedirectCallback) {
855 redirectCallback = (RedirectCallback) callback;
877 redirectCallback = new RedirectCallback(redirectURL,redirectData,
1404 RedirectCallback redirectCallbac
[all...]
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthCallbackHandlerFactory.java22 import com.sun.identity.authentication.spi.RedirectCallback;
105 } else if (RedirectCallback.class.isAssignableFrom(callbackClass)) {
H A DRestAuthenticationHandler.java25 import com.sun.identity.authentication.spi.RedirectCallback;
242 if (callbacks.length == 1 && callbacks[0] instanceof RedirectCallback && postBody != null) {
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthCallbackHandlerFactory.java22 import com.sun.identity.authentication.spi.RedirectCallback;
107 } else if (RedirectCallback.class.isAssignableFrom(callbackClass)) {
H A DRestAuthenticationHandler.java31 import com.sun.identity.authentication.spi.RedirectCallback;
248 if (callbacks.length == 1 && callbacks[0] instanceof RedirectCallback && postBody != null) {
/forgerock/openam-v13/openam-authentication/openam-auth-saml2/src/main/java/org/forgerock/openam/authentication/modules/saml2/
H A DSAML2.java27 import com.sun.identity.authentication.spi.RedirectCallback;
237 final RedirectCallback redirectCallback = (RedirectCallback) nextCallbacks[0];
386 final RedirectCallback redirectCallback) throws AuthLoginException {
390 final RedirectCallback rcNew = new RedirectCallback(ssoURL, postData, "POST",
399 private void configureGetRedirectCallback(final String redirectUrl, RedirectCallback redirectCallback)
401 final RedirectCallback rcNew = new RedirectCallback(redirectUrl, null, "GET",
413 * returning from a remote server as we currently cannot trust the RedirectCallback'
[all...]
/forgerock/openam/openam-authentication/openam-auth-saml2/src/main/java/org/forgerock/openam/authentication/modules/saml2/
H A DSAML2.java29 import com.sun.identity.authentication.spi.RedirectCallback;
257 final RedirectCallback redirectCallback = (RedirectCallback) nextCallbacks[0];
408 final RedirectCallback redirectCallback) throws AuthLoginException {
412 final RedirectCallback rcNew = new RedirectCallback(ssoURL, postData, "POST",
421 private void configureGetRedirectCallback(final String redirectUrl, RedirectCallback redirectCallback)
423 final RedirectCallback rcNew = new RedirectCallback(redirectUrl, null, "GET",
435 * returning from a remote server as we currently cannot trust the RedirectCallback'
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-oauth2/src/main/java/org/forgerock/openam/authentication/modules/oauth2/
H A DOAuth.java36 import com.sun.identity.authentication.spi.RedirectCallback;
209 // Note: The return URL cookie from the RedirectCallback can not
236 RedirectCallback rc = (RedirectCallback) callbacks1[0];
237 RedirectCallback rcNew = new RedirectCallback(authServiceUrl,
/forgerock/openam/openam-authentication/openam-auth-oauth2/src/main/java/org/forgerock/openam/authentication/modules/oauth2/
H A DOAuth.java38 import com.sun.identity.authentication.spi.RedirectCallback;
221 // Note: The return URL cookie from the RedirectCallback can not
248 RedirectCallback rc = (RedirectCallback) callbacks1[0];
249 RedirectCallback rcNew = new RedirectCallback(authServiceUrl,
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/
H A DOpenAMAuthHandler.java55 import com.sun.identity.authentication.spi.RedirectCallback;
458 } else if (cb instanceof RedirectCallback) {
465 + (httpCbIncurred ? HttpCallback.class.getSimpleName() : RedirectCallback.class.getSimpleName())
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/
H A DOpenAMAuthHandler.java58 import com.sun.identity.authentication.spi.RedirectCallback;
468 } else if (cb instanceof RedirectCallback) {
475 + (httpCbIncurred ? HttpCallback.class.getSimpleName() : RedirectCallback.class.getSimpleName())
/forgerock/openam-v13/openam-server-auth-ui/src/main/java/com/sun/identity/authentication/UI/
H A DLoginViewBean.java57 import com.sun.identity.authentication.spi.RedirectCallback;
957 } else if (callbacks[i] instanceof RedirectCallback) {
958 processRedirectCallback((RedirectCallback)callbacks[i]);
1101 // Process 'RedirectCallback' initiated by Authentication module
1102 private void processRedirectCallback(RedirectCallback rc) throws Exception {
1282 } else if (callbacks[i] instanceof RedirectCallback) {
1283 RedirectCallback rc = (RedirectCallback) callbacks[i];
1364 } else if (callbacks[i] instanceof RedirectCallback) {
1366 (RedirectCallback)callback
[all...]
/forgerock/openam/openam-server-auth-ui/src/main/java/com/sun/identity/authentication/UI/
H A DLoginViewBean.java77 import com.sun.identity.authentication.spi.RedirectCallback;
968 } else if (callbacks[i] instanceof RedirectCallback) {
969 processRedirectCallback((RedirectCallback)callbacks[i]);
1112 // Process 'RedirectCallback' initiated by Authentication module
1113 private void processRedirectCallback(RedirectCallback rc) throws Exception {
1304 } else if (callbacks[i] instanceof RedirectCallback) {
1305 RedirectCallback rc = (RedirectCallback) callbacks[i];
1386 } else if (callbacks[i] instanceof RedirectCallback) {
1388 (RedirectCallback)callback
[all...]

Completed in 102 milliseconds

12