/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/internal/ |
H A D | AuthLoginThread.java | 49 private AuthContext authContext; 55 protected AuthLoginThread(AuthContext ctx) { 56 AuthContext.authDebug.message("AuthLoginThread::Constructor"); 65 AuthContext.authDebug.message("AuthLoginThread::run()"); 68 authContext.setLoginStatus(AuthContext.AUTH_SUCCESS); 69 AuthContext.authDebug.message("AuthLoginThread::run() successful login"); 71 authContext.setLoginStatus(AuthContext.AUTH_FAILED); 73 AuthContext.authDebug.message("AuthLoginThread::run() exception during login; " + le); 80 * plug-ins and sends it to <code>AuthContext</code>, and similarly 82 * AuthContext</cod [all...] |
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/ |
H A D | OpenAMAuthFactory.java | 21 import com.sun.identity.authentication.AuthContext; 32 * @param realm the realm to which the returned <code>AuthContext</code> should relate. 33 * @return a newly created <code>AuthContext</code> that may be used to authenticate a subject against realm. 34 * @throws AuthLoginException - if AuthContext creation fails. This exception is kept for backward compatibility 37 public AuthContext getAuthContext(String realm) throws AuthLoginException { 38 return new AuthContext(realm);
|
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/ |
H A D | OpenAMAuthFactory.java | 21 import com.sun.identity.authentication.AuthContext; 32 * @param realm the realm to which the returned <code>AuthContext</code> should relate. 33 * @return a newly created <code>AuthContext</code> that may be used to authenticate a subject against realm. 34 * @throws AuthLoginException - if AuthContext creation fails. This exception is kept for backward compatibility 37 public AuthContext getAuthContext(String realm) throws AuthLoginException { 38 return new AuthContext(realm);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/internal/ |
H A D | AuthLoginThread.java | 49 private AuthContext authContext; 55 protected AuthLoginThread(AuthContext ctx) { 56 AuthContext.authDebug.message("AuthLoginThread::Constructor"); 65 AuthContext.authDebug.message("AuthLoginThread::run()"); 68 authContext.setLoginStatus(AuthContext.AUTH_SUCCESS); 69 AuthContext.authDebug.message("AuthLoginThread::run() successful login"); 71 authContext.setLoginStatus(AuthContext.AUTH_FAILED); 73 AuthContext.authDebug.message("AuthLoginThread::run() exception during login; " + le); 80 * plug-ins and sends it to <code>AuthContext</code>, and similarly 82 * AuthContext</cod [all...] |
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | AuthIndexType.java | 19 import com.sun.identity.authentication.AuthContext; 22 * Enum for AuthContext.IndexTypes. 29 USER(AuthContext.IndexType.USER), 31 ROLE(AuthContext.IndexType.ROLE), 33 SERVICE(AuthContext.IndexType.SERVICE), 35 LEVEL(AuthContext.IndexType.LEVEL), 37 MODULE(AuthContext.IndexType.MODULE_INSTANCE), 39 RESOURCE(AuthContext.IndexType.RESOURCE), 41 COMPOSITE(AuthContext.IndexType.COMPOSITE_ADVICE); 43 private final AuthContext [all...] |
H A D | AuthenticationContext.java | 21 import com.sun.identity.authentication.AuthContext; 55 void login(AuthContext.IndexType indexType, String indexValue) throws AuthLoginException; 66 void login(AuthContext.IndexType indexType, String indexValue, Map<String, Set<String>> envMap, 114 AuthContext.Status getStatus();
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | AuthIndexType.java | 19 import com.sun.identity.authentication.AuthContext; 22 * Enum for AuthContext.IndexTypes. 29 USER(AuthContext.IndexType.USER), 31 ROLE(AuthContext.IndexType.ROLE), 33 SERVICE(AuthContext.IndexType.SERVICE), 35 LEVEL(AuthContext.IndexType.LEVEL), 37 MODULE(AuthContext.IndexType.MODULE_INSTANCE), 39 RESOURCE(AuthContext.IndexType.RESOURCE), 41 COMPOSITE(AuthContext.IndexType.COMPOSITE_ADVICE); 43 private final AuthContext [all...] |
H A D | AuthenticationContext.java | 21 import com.sun.identity.authentication.AuthContext; 55 void login(AuthContext.IndexType indexType, String indexValue) throws AuthLoginException; 66 void login(AuthContext.IndexType indexType, String indexValue, Map<String, Set<String>> envMap, 114 AuthContext.Status getStatus();
|
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | AuthIndexTypeTest.java | 19 import com.sun.identity.authentication.AuthContext; 57 String authContextIndexTypeString = AuthContext.IndexType.MODULE_INSTANCE.toString(); 73 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 86 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 89 Assert.assertEquals(authContextIndexType, AuthContext.IndexType.USER); 99 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 102 Assert.assertEquals(authContextIndexType, AuthContext.IndexType.ROLE); 112 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 115 Assert.assertEquals(authContextIndexType, AuthContext.IndexType.SERVICE); 125 AuthContext [all...] |
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | AuthIndexTypeTest.java | 25 import com.sun.identity.authentication.AuthContext; 58 String authContextIndexTypeString = AuthContext.IndexType.MODULE_INSTANCE.toString(); 74 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 87 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 90 Assert.assertEquals(authContextIndexType, AuthContext.IndexType.USER); 100 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 103 Assert.assertEquals(authContextIndexType, AuthContext.IndexType.ROLE); 113 AuthContext.IndexType authContextIndexType = authIndexType.getIndexType(); 116 Assert.assertEquals(authContextIndexType, AuthContext.IndexType.SERVICE); 126 AuthContext [all...] |
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/samples/clientsdk/ |
H A D | SampleBase.java | 31 import com.sun.identity.authentication.AuthContext; 40 protected AuthContext authenticate( 48 AuthContext lc = new AuthContext(orgname); 68 if (lc.getStatus() != AuthContext.Status.SUCCESS) {
|
/forgerock/openam/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/samples/clientsdk/ |
H A D | SampleBase.java | 31 import com.sun.identity.authentication.AuthContext; 40 protected AuthContext authenticate( 48 AuthContext lc = new AuthContext(orgname); 68 if (lc.getStatus() != AuthContext.Status.SUCCESS) {
|
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMAuthenticationMethod.java | 19 import com.sun.identity.authentication.AuthContext; 24 * Indicates a method of authentication for OpenAM consisting of an {@link AuthContext.IndexType} plus a name of 29 private final AuthContext.IndexType indexType; 31 public OpenAMAuthenticationMethod(final String name, final AuthContext.IndexType indexType) { 42 public AuthContext.IndexType getIndexType() {
|
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/util/ |
H A D | AuthUtils.java | 33 import com.sun.identity.authentication.AuthContext; 54 AuthContext lc = new AuthContext(realm); 72 return (lc.getStatus() != AuthContext.Status.SUCCESS) ? null :
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMAuthenticationMethod.java | 19 import com.sun.identity.authentication.AuthContext; 24 * Indicates a method of authentication for OpenAM consisting of an {@link AuthContext.IndexType} plus a name of 29 private final AuthContext.IndexType indexType; 31 public OpenAMAuthenticationMethod(final String name, final AuthContext.IndexType indexType) { 42 public AuthContext.IndexType getIndexType() {
|
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/util/ |
H A D | AuthUtils.java | 33 import com.sun.identity.authentication.AuthContext; 54 AuthContext lc = new AuthContext(realm); 72 return (lc.getStatus() != AuthContext.Status.SUCCESS) ? null :
|
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-cli/src/main/java/samples/policy/ |
H A D | TokenUtils.java | 33 import com.sun.identity.authentication.AuthContext; 60 AuthContext ac = null; 63 ac = new AuthContext(orgName); 65 ac.login(AuthContext.IndexType.MODULE_INSTANCE, module); 67 ac.login(AuthContext.IndexType.LEVEL, String.valueOf(level)); 88 if (ac.getStatus() == AuthContext.Status.SUCCESS) { 99 } else if (ac.getStatus() == AuthContext.Status.FAILED) {
|
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/xacml/client/ |
H A D | TokenUtils.java | 33 import com.sun.identity.authentication.AuthContext; 59 AuthContext ac = null; 62 ac = new AuthContext(orgName); 64 ac.login(AuthContext.IndexType.MODULE_INSTANCE, module); 66 ac.login(AuthContext.IndexType.LEVEL, String.valueOf(level)); 87 if (ac.getStatus() == AuthContext.Status.SUCCESS) { 98 } else if (ac.getStatus() == AuthContext.Status.FAILED) {
|
/forgerock/openam/openam-examples/openam-example-clientsdk-cli/src/main/java/samples/policy/ |
H A D | TokenUtils.java | 33 import com.sun.identity.authentication.AuthContext; 60 AuthContext ac = null; 63 ac = new AuthContext(orgName); 65 ac.login(AuthContext.IndexType.MODULE_INSTANCE, module); 67 ac.login(AuthContext.IndexType.LEVEL, String.valueOf(level)); 88 if (ac.getStatus() == AuthContext.Status.SUCCESS) { 99 } else if (ac.getStatus() == AuthContext.Status.FAILED) {
|
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/xacml/client/ |
H A D | TokenUtils.java | 33 import com.sun.identity.authentication.AuthContext; 59 AuthContext ac = null; 62 ac = new AuthContext(orgName); 64 ac.login(AuthContext.IndexType.MODULE_INSTANCE, module); 66 ac.login(AuthContext.IndexType.LEVEL, String.valueOf(level)); 87 if (ac.getStatus() == AuthContext.Status.SUCCESS) { 98 } else if (ac.getStatus() == AuthContext.Status.FAILED) {
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/security/ |
H A D | SystemAppTokenProvider.java | 35 import com.sun.identity.authentication.AuthContext; 79 AuthContext authContext = new AuthContext("/"); 81 AuthContext.IndexType.MODULE_INSTANCE, MODULE_APPLICATION); 92 if (authContext.getStatus() == AuthContext.Status.SUCCESS) {
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/security/ |
H A D | SystemAppTokenProvider.java | 35 import com.sun.identity.authentication.AuthContext; 79 AuthContext authContext = new AuthContext("/"); 81 AuthContext.IndexType.MODULE_INSTANCE, MODULE_APPLICATION); 92 if (authContext.getStatus() == AuthContext.Status.SUCCESS) {
|
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/ |
H A D | Authenticator.java | 35 import com.sun.identity.authentication.AuthContext; 78 public AuthContext sessionBasedLogin( 87 AuthContext ac = sessionBasedLoginInternal( 100 private AuthContext sessionBasedLoginInternal( 105 AuthContext lc = null; 125 private AuthContext sessionBasedLoginInternal( 133 AuthContext lc = getAuthContext(mgr, indexType, indexName); 168 AuthContext lc = sessionBasedLoginInternal( 180 * Hence check for ssoToken and use local AuthContext 205 com.sun.identity.authentication.internal.AuthContext a [all...] |
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/ |
H A D | Authenticator.java | 37 import com.sun.identity.authentication.AuthContext; 80 public AuthContext sessionBasedLogin( 89 AuthContext ac = sessionBasedLoginInternal( 102 private AuthContext sessionBasedLoginInternal( 107 AuthContext lc = null; 127 private AuthContext sessionBasedLoginInternal( 135 AuthContext lc = getAuthContext(mgr, indexType, indexName); 170 AuthContext lc = sessionBasedLoginInternal( 182 * Hence check for ssoToken and use local AuthContext 207 com.sun.identity.authentication.internal.AuthContext a [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/server/ |
H A D | AuthContextLocal.java | 45 import com.sun.identity.authentication.AuthContext; 119 protected AuthContext.Status loginStatus; 189 * <code>AuthContext</code> constructor. 257 public void login(AuthContext.IndexType type, String indexName) 297 AuthContext.IndexType type, 322 * <code>AuthContext.IndexType.RESOURCE</code> 328 AuthContext.IndexType type, 343 * Performs the Login for the given AuthContext 351 protected void login(AuthContext.IndexType type, String indexName, 357 * Performs the Login for the given AuthContext [all...] |