Searched refs:LoginContext (Results 1 - 25 of 37) sorted by relevance

12

/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/authentication/service/
H A DLoginContextWrapper.java23 * Wrapper class for the javax implementation of LoginContext.
25 public class LoginContextWrapper implements LoginContext {
27 private final javax.security.auth.login.LoginContext javaxContext;
30 * Create an instance of the wrapper based on an existing LoginContext.
31 * @param javaxContext The original LoginContext.
33 public LoginContextWrapper(javax.security.auth.login.LoginContext javaxContext) {
H A DLoginContextFactory.java55 public LoginContext createLoginContext(final AMLoginContext context,
61 throw new LoginException("Config name was null when creating LoginContext");
69 new javax.security.auth.login.LoginContext(configName, subject, dsameCallbackHandler));
72 new javax.security.auth.login.LoginContext(configName, dsameCallbackHandler));
78 return new com.sun.identity.authentication.jaas.LoginContext(
81 return new com.sun.identity.authentication.jaas.LoginContext(
H A DLoginContext.java25 public interface LoginContext { interface
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/authentication/service/
H A DLoginContextFactoryTest.java69 LoginContext loginContext = loginContextFactory.createLoginContext(amLoginContext, subject, CONFIG_NAME, true, configuration);
82 LoginContext loginContext = loginContextFactory.createLoginContext(amLoginContext, null, CONFIG_NAME, true, configuration);
95 LoginContext loginContext = loginContextFactory.createLoginContext(amLoginContext, subject, CONFIG_NAME, false, configuration);
98 assertThat(loginContext).isInstanceOf(com.sun.identity.authentication.jaas.LoginContext.class);
108 LoginContext loginContext = loginContextFactory.createLoginContext(amLoginContext, null, CONFIG_NAME, false, configuration);
111 assertThat(loginContext).isInstanceOf(com.sun.identity.authentication.jaas.LoginContext.class);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/internal/server/
H A DLocalLdapAuthModule.java42 import com.sun.identity.authentication.internal.LoginContext;
181 String orgUrl = (String) options.get(LoginContext.ORGNAME);
183 || (orgUrl.equals(LoginContext.LDAP_AUTH_URL))
184 || (orgUrl.equals(LoginContext.LDAPS_AUTH_URL))
185 || !(orgUrl.startsWith(LoginContext.LDAP_AUTH_URL) || orgUrl
186 .startsWith(LoginContext.LDAPS_AUTH_URL))) {
230 if (orgUrl.startsWith(LoginContext.LDAPS_AUTH_URL)) {
231 start = LoginContext.LDAPS_AUTH_URL.length();
234 start = LoginContext.LDAP_AUTH_URL.length();
295 String orgName = (String) options.get(LoginContext
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/internal/server/
H A DLocalLdapAuthModule.java42 import com.sun.identity.authentication.internal.LoginContext;
181 String orgUrl = (String) options.get(LoginContext.ORGNAME);
183 || (orgUrl.equals(LoginContext.LDAP_AUTH_URL))
184 || (orgUrl.equals(LoginContext.LDAPS_AUTH_URL))
185 || !(orgUrl.startsWith(LoginContext.LDAP_AUTH_URL) || orgUrl
186 .startsWith(LoginContext.LDAPS_AUTH_URL))) {
230 if (orgUrl.startsWith(LoginContext.LDAPS_AUTH_URL)) {
231 start = LoginContext.LDAPS_AUTH_URL.length();
234 start = LoginContext.LDAP_AUTH_URL.length();
295 String orgName = (String) options.get(LoginContext
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/jaas/
H A DLoginContext.java25 * $Id: LoginContext.java,v 1.6 2008/09/22 23:19:42 manish_rustagi Exp $
60 public class LoginContext implements org.forgerock.openam.authentication.service.LoginContext { class in inherits:org.forgerock.openam.authentication.service.LoginContext
97 public LoginContext(AppConfigurationEntry[] entries, method in class:LoginContext
105 public LoginContext(AppConfigurationEntry[] entries, Subject subject, method in class:LoginContext
258 debug.message("LoginContext.invoke(): Handling expected java.lang.Error");
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/internal/
H A DLoginContext.java25 * $Id: LoginContext.java,v 1.2 2008/06/25 05:41:53 qcheng Exp $
43 public class LoginContext { class
75 protected LoginContext(String name, CallbackHandler handler) method in class:LoginContext
82 protected LoginContext(String name, AuthSubject subject, method in class:LoginContext
106 AuthContext.authDebug.warning("LoginContext::login() "
108 AuthContext.authDebug.warning("LoginContext::login() "
178 AuthContext.authDebug.message("LoginContext:getLoginModules() "
199 .message("LoginContext:getLoginModules() "
H A DAuthContext.java64 * the JAAS technology. It complements <code>LoginContext
154 protected LoginContext loginContext;
210 this(LoginContext.LDAP_AUTH_URL + hostname + ":" + port, principal,
247 // Set the username and password in LoginContext's sharedState
492 loginContext = new LoginContext(contextName, loginThread);
494 loginContext = new LoginContext(contextName, subject, loginThread);
658 authDebug.message("Called LoginContext::logout()");
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/jaas/
H A DLoginContext.java25 * $Id: LoginContext.java,v 1.6 2008/09/22 23:19:42 manish_rustagi Exp $
58 public class LoginContext { class
95 public LoginContext(AppConfigurationEntry[] entries, method in class:LoginContext
103 public LoginContext(AppConfigurationEntry[] entries, Subject subject, method in class:LoginContext
256 debug.message("LoginContext.invoke(): Handling expected java.lang.Error");
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/internal/
H A DLoginContext.java25 * $Id: LoginContext.java,v 1.2 2008/06/25 05:41:53 qcheng Exp $
43 public class LoginContext { class
75 protected LoginContext(String name, CallbackHandler handler) method in class:LoginContext
82 protected LoginContext(String name, AuthSubject subject, method in class:LoginContext
106 AuthContext.authDebug.warning("LoginContext::login() "
108 AuthContext.authDebug.warning("LoginContext::login() "
178 AuthContext.authDebug.message("LoginContext:getLoginModules() "
199 .message("LoginContext:getLoginModules() "
H A DAuthContext.java64 * the JAAS technology. It complements <code>LoginContext
154 protected LoginContext loginContext;
210 this(LoginContext.LDAP_AUTH_URL + hostname + ":" + port, principal,
247 // Set the username and password in LoginContext's sharedState
492 loginContext = new LoginContext(contextName, loginThread);
494 loginContext = new LoginContext(contextName, subject, loginThread);
658 authDebug.message("Called LoginContext::logout()");
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/
H A DGSSAPISASLMechanismHandler.java48 import javax.security.auth.login.LoginContext;
101 private volatile LoginContext loginContext;
230 private LoginContext getLoginContext() throws LoginException
238 loginContext = new LoginContext(
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/
H A DGSSAPISASLMechanismHandler.java51 import javax.security.auth.login.LoginContext;
112 private volatile LoginContext loginContext;
250 private LoginContext getLoginContext() throws LoginException
258 loginContext = new LoginContext(
H A DSASLContext.java43 import javax.security.auth.login.LoginContext;
571 void performAuthentication(final LoginContext loginContext,
/forgerock/opendj2/src/server/org/opends/server/extensions/
H A DGSSAPISASLMechanismHandler.java51 import javax.security.auth.login.LoginContext;
108 private volatile LoginContext loginContext;
246 private LoginContext getLoginContext() throws LoginException
254 loginContext = new LoginContext(
H A DSASLContext.java42 import javax.security.auth.login.LoginContext;
573 void performAuthentication(final LoginContext loginContext,
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/
H A DGSSAPISASLMechanismHandler.java51 import javax.security.auth.login.LoginContext;
112 private volatile LoginContext loginContext;
250 private LoginContext getLoginContext() throws LoginException
258 loginContext = new LoginContext(
H A DSASLContext.java43 import javax.security.auth.login.LoginContext;
571 void performAuthentication(final LoginContext loginContext,
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/
H A DGSSAPISASLMechanismHandler.java51 import javax.security.auth.login.LoginContext;
112 private volatile LoginContext loginContext;
250 private LoginContext getLoginContext() throws LoginException
258 loginContext = new LoginContext(
H A DSASLContext.java43 import javax.security.auth.login.LoginContext;
571 void performAuthentication(final LoginContext loginContext,
/forgerock/opendj2-hg/src/server/org/opends/server/extensions/
H A DGSSAPISASLMechanismHandler.java51 import javax.security.auth.login.LoginContext;
108 private volatile LoginContext loginContext;
246 private LoginContext getLoginContext() throws LoginException
254 loginContext = new LoginContext(
/forgerock/openam-v13/openam-core/src/test/java/com/sun/identity/authentication/jaas/
H A DLoginContextTest.java51 private LoginContext context;
109 context = new LoginContext(entries, subject, handler);
/forgerock/openam/openam-core/src/test/java/com/sun/identity/authentication/jaas/
H A DLoginContextTest.java51 private LoginContext context;
109 context = new LoginContext(entries, subject, handler);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAMLoginContext.java97 * <code>LoginContext</code> object with the JAAS configuration name and the
99 * <code>LoginContext::login()</code> method.
114 private javax.security.auth.login.LoginContext loginContext = null;
115 private com.sun.identity.authentication.jaas.LoginContext jaasLoginContext = null;
220 * a new LoginContext and starts login process and returns. On error
384 * Create the LoginContext object that actually handles login/logout
406 loginContext = new javax.security.auth.login.LoginContext(configName, subject, dsameCallbackHandler);
408 loginContext = new javax.security.auth.login.LoginContext(configName, dsameCallbackHandler);
413 jaasLoginContext = new com.sun.identity.authentication.jaas.LoginContext(
416 jaasLoginContext = new com.sun.identity.authentication.jaas.LoginContext(
[all...]

Completed in 87 milliseconds

12