/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/callbacks/ |
H A D | package-info.java | 18 * This package contains custom Callback objects representing callbacks which may be sent between the client and server 21 package com.sun.identity.authentication.callbacks;
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/callbacks/ |
H A D | package-info.java | 18 * This package contains custom Callback objects representing callbacks which may be sent between the client and server 21 package com.sun.identity.authentication.callbacks;
|
/forgerock/openam-v13/openam-authentication/openam-auth-ldap/src/main/java/com/sun/identity/authentication/modules/ldap/ |
H A D | LDAPCallbacks.java | 67 * Instantiates and passes a callbacks to the <code>invokeCallback</code> 78 * Instantiates and passes a callbacks to the <code>invokeCallback</code> 127 Callback[] callbacks = new Callback[3]; 128 callbacks[0] = new TextOutputCallback 130 callbacks[1] = new NameCallback("Enter Username :"); 131 callbacks[2] = new PasswordCallback("Enter Password :", false); 133 callbackHandler.handle(callbacks); 134 username = ((NameCallback) callbacks[1]).getName(); 136 ((PasswordCallback)callbacks[2]).getPassword(),callbacks[ [all...] |
/forgerock/openam/openam-authentication/openam-auth-ldap/src/main/java/com/sun/identity/authentication/modules/ldap/ |
H A D | LDAPCallbacks.java | 67 * Instantiates and passes a callbacks to the <code>invokeCallback</code> 78 * Instantiates and passes a callbacks to the <code>invokeCallback</code> 127 Callback[] callbacks = new Callback[3]; 128 callbacks[0] = new TextOutputCallback 130 callbacks[1] = new NameCallback("Enter Username :"); 131 callbacks[2] = new PasswordCallback("Enter Password :", false); 133 callbackHandler.handle(callbacks); 134 username = ((NameCallback) callbacks[1]).getName(); 136 ((PasswordCallback)callbacks[2]).getPassword(),callbacks[ [all...] |
/forgerock/openam-v13/openam-distribution/src/main/amserver/samples/server/source/com/sun/identity/samples/authentication/spi/providers/ |
H A D | LoginModuleSample.java | 75 * @param callbacks Array of callback object. 80 public int process(Callback[] callbacks, int state) argument 86 returnState = processState1(callbacks); 89 returnState = processState2(callbacks); 92 returnState = processState3(callbacks); 95 returnState = processState4(callbacks); 104 private int processState1(Callback[] callbacks) argument 107 userName = ((NameCallback)callbacks[0]).getName(); 108 lastName = ((NameCallback)callbacks[1]).getName(); 115 private int processState2(Callback[] callbacks) argument 138 processState3(Callback[] callbacks) argument 152 processState4(Callback[] callbacks) argument [all...] |
/forgerock/openam/openam-distribution/src/main/amserver/samples/server/source/com/sun/identity/samples/authentication/spi/providers/ |
H A D | LoginModuleSample.java | 75 * @param callbacks Array of callback object. 80 public int process(Callback[] callbacks, int state) argument 86 returnState = processState1(callbacks); 89 returnState = processState2(callbacks); 92 returnState = processState3(callbacks); 95 returnState = processState4(callbacks); 104 private int processState1(Callback[] callbacks) argument 107 userName = ((NameCallback)callbacks[0]).getName(); 108 lastName = ((NameCallback)callbacks[1]).getName(); 115 private int processState2(Callback[] callbacks) argument 138 processState3(Callback[] callbacks) argument 152 processState4(Callback[] callbacks) argument [all...] |
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/samples/clientsdk/ |
H A D | SampleBase.java | 51 Callback[] callbacks = lc.getRequirements(); 52 for (int i = 0; i < callbacks.length; i++) { 53 if (callbacks[i] instanceof NameCallback) { 54 NameCallback nc = (NameCallback) callbacks[i]; 56 } else if (callbacks[i] instanceof PasswordCallback) { 57 PasswordCallback pc = (PasswordCallback) callbacks[i]; 60 out.println("Unknow Callback: " + callbacks[i]); 65 lc.submitRequirements(callbacks);
|
/forgerock/openam/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/samples/clientsdk/ |
H A D | SampleBase.java | 51 Callback[] callbacks = lc.getRequirements(); 52 for (int i = 0; i < callbacks.length; i++) { 53 if (callbacks[i] instanceof NameCallback) { 54 NameCallback nc = (NameCallback) callbacks[i]; 56 } else if (callbacks[i] instanceof PasswordCallback) { 57 PasswordCallback pc = (PasswordCallback) callbacks[i]; 60 out.println("Unknow Callback: " + callbacks[i]); 65 lc.submitRequirements(callbacks);
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/security/ |
H A D | SystemAppTokenProvider.java | 84 Callback[] callbacks = authContext.getRequirements(); 86 if (callbacks != null) { 87 addLoginCallbackMessage(callbacks, appUserName, appPassword); 88 authContext.submitRequirements(callbacks); 112 * @param callbacks array of callbacks 117 Callback[] callbacks, 122 for (int i = 0; i < callbacks.length; i++) { 123 if (callbacks[i] instanceof NameCallback) { 124 NameCallback nameCallback = (NameCallback) callbacks[ 116 addLoginCallbackMessage( Callback[] callbacks, String appUserName, String appPassword) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/security/ |
H A D | SystemAppTokenProvider.java | 84 Callback[] callbacks = authContext.getRequirements(); 86 if (callbacks != null) { 87 addLoginCallbackMessage(callbacks, appUserName, appPassword); 88 authContext.submitRequirements(callbacks); 112 * @param callbacks array of callbacks 117 Callback[] callbacks, 122 for (int i = 0; i < callbacks.length; i++) { 123 if (callbacks[i] instanceof NameCallback) { 124 NameCallback nameCallback = (NameCallback) callbacks[ 116 addLoginCallbackMessage( Callback[] callbacks, String appUserName, String appPassword) argument [all...] |
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/util/ |
H A D | AuthUtils.java | 57 Callback[] callbacks = lc.getRequirements(); 58 for (int i = 0; i < callbacks.length; i++) { 59 if (callbacks[i] instanceof NameCallback) { 60 NameCallback nc = (NameCallback) callbacks[i]; 62 } else if (callbacks[i] instanceof PasswordCallback) { 63 PasswordCallback pc = (PasswordCallback) callbacks[i]; 69 lc.submitRequirements(callbacks);
|
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/util/ |
H A D | AuthUtils.java | 57 Callback[] callbacks = lc.getRequirements(); 58 for (int i = 0; i < callbacks.length; i++) { 59 if (callbacks[i] instanceof NameCallback) { 60 NameCallback nc = (NameCallback) callbacks[i]; 62 } else if (callbacks[i] instanceof PasswordCallback) { 63 PasswordCallback pc = (PasswordCallback) callbacks[i]; 69 lc.submitRequirements(callbacks);
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | DSAMECallbackHandler.java | 50 // what callbacks the module needs 74 private void setPageTimeout(Callback[] callbacks) { argument 75 long pageTimeOut = getTimeOut(callbacks); 88 * @param callbacks an array of <code>Callback</code> objects provided 95 * specified in the <code>callbacks</code> parameter. 97 public void handle(Callback[] callbacks) argument 104 if ((callbacks.length == 1) && 105 (callbacks[0] instanceof LoginStateCallback)) { 107 ((LoginStateCallback) callbacks[0]).setLoginState(loginState); 110 setPageTimeout(callbacks); 201 getTimeOut(Callback[] callbacks) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | DSAMECallbackHandler.java | 53 // what callbacks the module needs 79 private void setPageTimeout(Callback[] callbacks) { argument 80 long pageTimeOut = getTimeOut(callbacks); 93 * @param callbacks an array of <code>Callback</code> objects provided 100 * specified in the <code>callbacks</code> parameter. 102 public void handle(Callback[] callbacks) argument 109 if ((callbacks.length == 1) && 110 (callbacks[0] instanceof LoginStateCallback)) { 112 ((LoginStateCallback) callbacks[0]).setLoginState(loginState); 115 setPageTimeout(callbacks); 206 getTimeOut(Callback[] callbacks) argument [all...] |
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | DevicePrintAuthenticationServiceTest.java | 99 Callback[] callbacks = new Callback[1]; 104 callbacks[0] = devicePrintCallback; 110 int nextState = devicePrintAuthenticationService.process(callbacks, state); 123 Callback[] callbacks = new Callback[1]; 129 callbacks[0] = devicePrintCallback; 136 int nextState = devicePrintAuthenticationService.process(callbacks, state); 149 Callback[] callbacks = new Callback[1]; 156 callbacks[0] = devicePrintCallback; 163 int nextState = devicePrintAuthenticationService.process(callbacks, state); 176 Callback[] callbacks [all...] |
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-cli/src/main/java/samples/policy/ |
H A D | TokenUtils.java | 79 Callback[] callbacks = null; 82 callbacks = ac.getRequirements(); 84 if (callbacks != null) { 85 addLoginCallbackMessage(callbacks, userId, password); 86 ac.submitRequirements(callbacks); 115 static void addLoginCallbackMessage(Callback[] callbacks, String userId, argument 121 for (i = 0; i < callbacks.length; i++) { 122 if (callbacks[i] instanceof NameCallback) { 125 NameCallback nc = (NameCallback) callbacks[i]; 130 } else if (callbacks[ [all...] |
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/xacml/client/ |
H A D | TokenUtils.java | 78 Callback[] callbacks = null; 81 callbacks = ac.getRequirements(); 83 if (callbacks != null) { 84 addLoginCallbackMessage(callbacks, userId, password); 85 ac.submitRequirements(callbacks); 114 static void addLoginCallbackMessage(Callback[] callbacks, String userId, argument 120 for (i = 0; i < callbacks.length; i++) { 121 if (callbacks[i] instanceof NameCallback) { 124 NameCallback nc = (NameCallback) callbacks[i]; 129 } else if (callbacks[ [all...] |
/forgerock/openam/openam-examples/openam-example-clientsdk-cli/src/main/java/samples/policy/ |
H A D | TokenUtils.java | 79 Callback[] callbacks = null; 82 callbacks = ac.getRequirements(); 84 if (callbacks != null) { 85 addLoginCallbackMessage(callbacks, userId, password); 86 ac.submitRequirements(callbacks); 115 static void addLoginCallbackMessage(Callback[] callbacks, String userId, argument 121 for (i = 0; i < callbacks.length; i++) { 122 if (callbacks[i] instanceof NameCallback) { 125 NameCallback nc = (NameCallback) callbacks[i]; 130 } else if (callbacks[ [all...] |
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/xacml/client/ |
H A D | TokenUtils.java | 78 Callback[] callbacks = null; 81 callbacks = ac.getRequirements(); 83 if (callbacks != null) { 84 addLoginCallbackMessage(callbacks, userId, password); 85 ac.submitRequirements(callbacks); 114 static void addLoginCallbackMessage(Callback[] callbacks, String userId, argument 120 for (i = 0; i < callbacks.length; i++) { 121 if (callbacks[i] instanceof NameCallback) { 124 NameCallback nc = (NameCallback) callbacks[i]; 129 } else if (callbacks[ [all...] |
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/common/ |
H A D | ApplicationSSOTokenProvider.java | 67 Callback[] callbacks = authContext.getRequirements(); 68 if(callbacks != null) { 69 addLoginCallbackMessage(callbacks, getApplicationUser(), 71 authContext.submitRequirements(callbacks); 114 Callback[] callbacks, String appUserName, String password) 117 for(int i = 0; i < callbacks.length; i++) { 118 if(callbacks[i] instanceof NameCallback) { 119 NameCallback nameCallback = (NameCallback) callbacks[i]; 122 } else if(callbacks[i] instanceof PasswordCallback) { 124 (PasswordCallback) callbacks[ 113 addLoginCallbackMessage( Callback[] callbacks, String appUserName, String password) argument [all...] |
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | PersistModuleProcesserTest.java | 57 Callback[] callbacks = new Callback[]{}; 61 int newState = processor.process(callbacks, state); 74 Callback[] callbacks = new Callback[]{}; 78 int newState = processor.process(callbacks, state); 94 Callback[] callbacks = new Callback[]{}; 98 int newState = processor.process(callbacks, state); 114 Callback[] callbacks = new Callback[]{}; 118 int newState = processor.process(callbacks, state); 132 Callback[] callbacks = new Callback[]{choiceCallback}; 138 int newState = processor.process(callbacks, stat [all...] |
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-cli/src/main/java/com/sun/identity/samples/clientsdk/logging/ |
H A D | LogSampleUtils.java | 75 Callback[] callbacks = null; 81 callbacks = ac.getRequirements(); 83 fillCallbacks(callbacks, values); 84 ac.submitRequirements(callbacks); 86 System.err.println( "Failed to submit callbacks!"); 112 protected void fillCallbacks(Callback[] callbacks, Hashtable values) argument 115 for (int i = 0; i < callbacks.length; i++) { 116 if (callbacks[i] instanceof NameCallback) { 117 NameCallback nc = (NameCallback) callbacks[i]; 119 } else if (callbacks[ [all...] |
/forgerock/openam/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | PersistModuleProcesserTest.java | 57 Callback[] callbacks = new Callback[]{}; 61 int newState = processor.process(callbacks, state); 74 Callback[] callbacks = new Callback[]{}; 78 int newState = processor.process(callbacks, state); 94 Callback[] callbacks = new Callback[]{}; 98 int newState = processor.process(callbacks, state); 114 Callback[] callbacks = new Callback[]{}; 118 int newState = processor.process(callbacks, state); 132 Callback[] callbacks = new Callback[]{choiceCallback}; 138 int newState = processor.process(callbacks, stat [all...] |
/forgerock/openam/openam-examples/openam-example-clientsdk-cli/src/main/java/com/sun/identity/samples/clientsdk/logging/ |
H A D | LogSampleUtils.java | 75 Callback[] callbacks = null; 81 callbacks = ac.getRequirements(); 83 fillCallbacks(callbacks, values); 84 ac.submitRequirements(callbacks); 86 System.err.println( "Failed to submit callbacks!"); 112 protected void fillCallbacks(Callback[] callbacks, Hashtable values) argument 115 for (int i = 0; i < callbacks.length; i++) { 116 if (callbacks[i] instanceof NameCallback) { 117 NameCallback nc = (NameCallback) callbacks[i]; 119 } else if (callbacks[ [all...] |
/forgerock/openam-v13/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/ |
H A D | SoapSTSCallbackHandler.java | 46 public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { argument 47 for (int i = 0; i < callbacks.length; i++) { 48 if (callbacks[i] instanceof WSPasswordCallback) { 49 WSPasswordCallback pc = (WSPasswordCallback) callbacks[i]; 66 throw new UnsupportedCallbackException(callbacks[i]); 75 (callbacks[i] != null ? callbacks[i].getClass().getCanonicalName() : null)); 76 throw new UnsupportedCallbackException(callbacks[i]);
|