/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/api/ |
H A D | ScriptedSession.java | 33 private final SSOToken ssoToken; field in class:ScriptedSession 35 public ScriptedSession(SSOToken ssoToken) { argument 36 this.ssoToken = ssoToken; 49 return ssoToken.getProperty(name);
|
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/api/ |
H A D | ScriptedSession.java | 33 private final SSOToken ssoToken; field in class:ScriptedSession 35 public ScriptedSession(SSOToken ssoToken) { argument 36 this.ssoToken = ssoToken; 49 return ssoToken.getProperty(name);
|
/forgerock/openam-v13/openam-rest/src/main/java/com/sun/identity/rest/ |
H A D | SSOTokenPrincipal.java | 39 private SSOToken ssoToken; field in class:SSOTokenPrincipal 41 public SSOTokenPrincipal(SSOToken ssoToken) { argument 42 this.ssoToken = ssoToken; 46 return ssoToken.getTokenID().toString(); 52 String uuid = ssoToken.getProperty(Constants.UNIVERSAL_IDENTIFIER); 56 privateCred.add(ssoToken);
|
/forgerock/openam/openam-rest/src/main/java/com/sun/identity/rest/ |
H A D | SSOTokenPrincipal.java | 39 private SSOToken ssoToken; field in class:SSOTokenPrincipal 41 public SSOTokenPrincipal(SSOToken ssoToken) { argument 42 this.ssoToken = ssoToken; 46 return ssoToken.getTokenID().toString(); 52 String uuid = ssoToken.getProperty(Constants.UNIVERSAL_IDENTIFIER); 56 privateCred.add(ssoToken);
|
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/base/model/ |
H A D | AMAuthUtils.java | 49 * @param ssoToken - Single-Sign-On Token 52 public static String getAuthenticatedOrgDN(SSOToken ssoToken) { argument 56 orgDN = ssoToken.getProperty(Constants.ORGANIZATION); 77 SSOToken ssoToken = manager.createSSOToken(req); 78 manager.validateToken(ssoToken); 79 return ssoToken;
|
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/base/model/ |
H A D | AMAuthUtils.java | 49 * @param ssoToken - Single-Sign-On Token 52 public static String getAuthenticatedOrgDN(SSOToken ssoToken) { argument 56 orgDN = ssoToken.getProperty(Constants.ORGANIZATION); 77 SSOToken ssoToken = manager.createSSOToken(req); 78 manager.validateToken(ssoToken); 79 return ssoToken;
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/log/spi/ |
H A D | ISAuthorizer.java | 73 SSOToken ssoToken = null; 75 ssoToken = (SSOToken)credential; 78 if (ssoToken == null) { 84 String tmpID = ssoToken.getPrincipal().getName(); 97 if (ssoMgr.isValidToken(ssoToken)) { 103 ssoToken.getProperty(Constants.ORGANIZATION); 114 if (de.isAllowed(ssoToken, dp, null)) { 122 String loggedByID = ssoToken.getPrincipal().getName(); 130 String loggedByID = ssoToken.getPrincipal().getName();
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/log/spi/ |
H A D | ISAuthorizer.java | 73 SSOToken ssoToken = null; 75 ssoToken = (SSOToken)credential; 78 if (ssoToken == null) { 84 String tmpID = ssoToken.getPrincipal().getName(); 97 if (ssoMgr.isValidToken(ssoToken)) { 103 ssoToken.getProperty(Constants.ORGANIZATION); 114 if (de.isAllowed(ssoToken, dp, null)) { 122 String loggedByID = ssoToken.getPrincipal().getName(); 130 String loggedByID = ssoToken.getPrincipal().getName();
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/sdk/ |
H A D | AMSSOTokenListener.java | 67 SSOToken ssoToken = stEvent.getToken(); 69 isValid = SSOTokenManager.getInstance().isValidToken(ssoToken); 77 + " ssoToken: " + isValid); 83 Set dnSet = AMObjectImpl.removeFromProfileNameTable(ssoToken); 90 AMObjectImpl.removeObjImplListeners(dnSet, ssoToken
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/am/sdk/ |
H A D | AMSSOTokenListener.java | 67 SSOToken ssoToken = stEvent.getToken(); 69 isValid = SSOTokenManager.getInstance().isValidToken(ssoToken); 77 + " ssoToken: " + isValid); 83 Set dnSet = AMObjectImpl.removeFromProfileNameTable(ssoToken); 90 AMObjectImpl.removeObjImplListeners(dnSet, ssoToken
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/session/ |
H A D | SessionResourceUtil.java | 88 SSOToken ssoToken = null; 91 ssoToken = ssoTokenManager.retrieveValidTokenWithoutResettingIdleTime(tokenId); 92 if (ssoToken != null) { 94 ssoTokenManager.refreshSessionWithoutIdleReset(ssoToken); 97 if (!ssoTokenManager.isValidToken(ssoToken, false)) { 98 ssoToken = null; 102 if (ssoToken == null) { 105 return ssoToken; 150 * @param ssoToken The single sign on token 155 public JsonValue jsonValueOf(SSOToken ssoToken) throw argument 177 getIdentity(SSOToken ssoToken) argument [all...] |
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | CompletedLoginProcess.java | 29 * This is used by the rest authentication handler whilst processing an already valid ssoToken 33 private final SSOToken ssoToken; field in class:CompletedLoginProcess 41 * @param ssoToken The valid SSOToken for this loginProcess 44 CoreServicesWrapper coreServicesWrapper, SSOToken ssoToken) { 46 this.ssoToken = ssoToken; 103 return ssoToken; 112 return ssoToken.getProperty(ISAuthConstants.SUCCESS_URL); 43 CompletedLoginProcess(LoginAuthenticator loginAuthenticator, LoginConfiguration loginConfiguration, CoreServicesWrapper coreServicesWrapper, SSOToken ssoToken) argument
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/ |
H A D | CompletedLoginProcess.java | 29 * This is used by the rest authentication handler whilst processing an already valid ssoToken 33 private final SSOToken ssoToken; field in class:CompletedLoginProcess 41 * @param ssoToken The valid SSOToken for this loginProcess 44 CoreServicesWrapper coreServicesWrapper, SSOToken ssoToken) { 46 this.ssoToken = ssoToken; 103 return ssoToken; 112 return ssoToken.getProperty(ISAuthConstants.SUCCESS_URL); 43 CompletedLoginProcess(LoginAuthenticator loginAuthenticator, LoginConfiguration loginConfiguration, CoreServicesWrapper coreServicesWrapper, SSOToken ssoToken) argument
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/log/s1is/ |
H A D | LogSSOTokenDetails.java | 60 * @param ssoToken the SSOToken for the requester 63 public static LogRecord logSSOTokenInfo(LogRecord lr, SSOToken ssoToken) { argument 73 String tokenID = ssoToken.getTokenID().toString(); 77 hostName = ssoToken.getHostName(); 85 java.net.InetAddress ipAddr = ssoToken.getIPAddress(); 105 //clientDomain = ssoToken.getProperty("cdomain"); 106 clientDomain = ssoToken.getProperty("Organization"); 109 clientID = ssoToken.getPrincipal().getName(); 112 String contextId = ssoToken.getProperty(Constants.AM_CTX_ID);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/log/s1is/ |
H A D | LogSSOTokenDetails.java | 60 * @param ssoToken the SSOToken for the requester 63 public static LogRecord logSSOTokenInfo(LogRecord lr, SSOToken ssoToken) { argument 73 String tokenID = ssoToken.getTokenID().toString(); 77 hostName = ssoToken.getHostName(); 85 java.net.InetAddress ipAddr = ssoToken.getIPAddress(); 105 //clientDomain = ssoToken.getProperty("cdomain"); 106 clientDomain = ssoToken.getProperty("Organization"); 109 clientID = ssoToken.getPrincipal().getName(); 112 String contextId = ssoToken.getProperty(Constants.AM_CTX_ID);
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/session/action/ |
H A D | ValidateActionHandler.java | 82 final SSOToken ssoToken = ssoTokenManager.createSSOToken(tokenId); 83 return validateSession(ssoToken); 102 * @param ssoToken The SSO Token. 105 private JsonValue validateSession(final SSOToken ssoToken) { argument 107 if (!ssoTokenManager.isValidToken(ssoToken)) { 110 ssoToken.getTokenID() + ", returned false."); 117 ssoToken.getTokenID() + ", returned true."); 119 final AMIdentity identity = sessionResourceUtil.getIdentity(ssoToken); 125 ssoToken.getTokenID() + ", failed to return.", e); 131 ssoToken [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entity/ |
H A D | EntityObjectIF.java | 46 * @param ssoToken 64 public Set createEntity(String ssoToken, String entityName, argument 72 * @param ssoToken User's Single Sign On Token. 83 public void modifyEntity(String ssoToken, String entityName, argument 90 * @param ssoToken 105 public void deleteEntity(String ssoToken, String entityName, argument 113 * @param ssoToken 129 public Map getEntity(String ssoToken, String entityName, String entityType, argument 137 * @param ssoToken 150 public Set getEntityNames(String ssoToken, Strin argument [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/ |
H A D | AssertionManagerIF.java | 45 public String createAssertion(String ssoToken) argument 48 public String createAssertion2(String ssoToken, List attributes) argument 60 public String getAssertionByIdRefToken(String idRef, String ssoToken) argument 69 public Set getAssertionArtifacts(String ssoToken) argument 72 public Set getAssertions(String ssoToken) argument
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entity/ |
H A D | EntityObjectIF.java | 46 * @param ssoToken 64 public Set createEntity(String ssoToken, String entityName, argument 72 * @param ssoToken User's Single Sign On Token. 83 public void modifyEntity(String ssoToken, String entityName, argument 90 * @param ssoToken 105 public void deleteEntity(String ssoToken, String entityName, argument 113 * @param ssoToken 129 public Map getEntity(String ssoToken, String entityName, String entityType, argument 137 * @param ssoToken 150 public Set getEntityNames(String ssoToken, Strin argument [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/ |
H A D | AssertionManagerIF.java | 45 public String createAssertion(String ssoToken) argument 48 public String createAssertion2(String ssoToken, List attributes) argument 60 public String getAssertionByIdRefToken(String idRef, String ssoToken) argument 69 public Set getAssertionArtifacts(String ssoToken) argument 72 public Set getAssertions(String ssoToken) argument
|
/forgerock/openam/openam-authentication/openam-auth-persistentcookie/src/test/java/org/forgerock/openam/authentication/modules/persistentcookie/ |
H A D | PersistentCookiePAPTest.java | 75 SSOToken ssoToken = mock(SSOToken.class); 77 given(ssoToken.getProperty(JwtSessionModule.TOKEN_IDLE_TIME_IN_MINUTES_CLAIM_KEY)).willReturn("TOKEN_IDLE_TIME"); 78 given(ssoToken.getProperty(JwtSessionModule.MAX_TOKEN_LIFE_IN_MINUTES_KEY)).willReturn("TOKEN_MAX_LIFE"); 79 given(ssoToken.getProperty("openam-auth-persistent-cookie-domains")).willReturn(""); 82 Map<String, Object> config = persistentCookieAuthPAP.generateConfig(request, response, ssoToken); 95 SSOToken ssoToken = mock(SSOToken.class); 97 given(ssoToken.getProperty("openam-auth-persistent-cookie-enforce-ip")).willReturn("true"); 98 given(ssoToken.getProperty("openam-auth-persistent-cookie-domains")).willReturn(""); 101 Map<String, Object> config = persistentCookieAuthPAP.generateConfig(request, response, ssoToken); 116 SSOToken ssoToken [all...] |
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/indextree/ |
H A D | IndexTreeServiceImplTest.java | 62 private SSOToken ssoToken; field in class:IndexTreeServiceImplTest 74 ssoToken = mock(SSOToken.class); 99 when(privilegedAction.run()).thenReturn(ssoToken); 100 when(serviceManagementDAO.checkIfEntryExists(SERVICE_DN, ssoToken)).thenReturn(true); 101 when(serviceManagementDAO.search(ssoToken, SERVICE_DN, FILTER, 0, 0, false, false, excludes)) 110 verify(serviceManagementDAO).checkIfEntryExists(SERVICE_DN, ssoToken); 111 verify(serviceManagementDAO).search(ssoToken, SERVICE_DN, FILTER, 0, 0, false, false, excludes); 145 when(privilegedAction.run()).thenReturn(ssoToken); 146 when(serviceManagementDAO.checkIfEntryExists(SERVICE_DN, ssoToken)).thenReturn(true); 147 when(serviceManagementDAO.search(ssoToken, SERVICE_D [all...] |
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/indextree/ |
H A D | IndexTreeServiceImplTest.java | 62 private SSOToken ssoToken; field in class:IndexTreeServiceImplTest 74 ssoToken = mock(SSOToken.class); 99 when(privilegedAction.run()).thenReturn(ssoToken); 100 when(serviceManagementDAO.checkIfEntryExists(SERVICE_DN, ssoToken)).thenReturn(true); 101 when(serviceManagementDAO.search(ssoToken, SERVICE_DN, FILTER, 0, 0, false, false, excludes)) 110 verify(serviceManagementDAO).checkIfEntryExists(SERVICE_DN, ssoToken); 111 verify(serviceManagementDAO).search(ssoToken, SERVICE_DN, FILTER, 0, 0, false, false, excludes); 145 when(privilegedAction.run()).thenReturn(ssoToken); 146 when(serviceManagementDAO.checkIfEntryExists(SERVICE_DN, ssoToken)).thenReturn(true); 147 when(serviceManagementDAO.search(ssoToken, SERVICE_D [all...] |
/forgerock/openam/openam-authentication/openam-auth-persistentcookie/src/main/java/org/forgerock/openam/authentication/modules/persistentcookie/ |
H A D | PersistentCookieAuthModulePostAuthenticationPlugin.java | 69 * @param ssoToken {@inheritDoc} 75 SSOToken ssoToken) throws AuthenticationException { 78 final String tokenIdleTime = ssoToken.getProperty(JwtSessionModule.TOKEN_IDLE_TIME_IN_MINUTES_CLAIM_KEY); 79 final String maxTokenLife = ssoToken.getProperty(JwtSessionModule.MAX_TOKEN_LIFE_IN_MINUTES_KEY); 80 final boolean enforceClientIP = Boolean.parseBoolean(ssoToken.getProperty(ENFORCE_CLIENT_IP_SETTING_KEY)); 81 final String realm = ssoToken.getProperty(SSO_TOKEN_ORGANIZATION_PROPERTY_KEY); 82 boolean secureCookie = Boolean.parseBoolean(ssoToken.getProperty(SECURE_COOKIE_KEY)); 83 boolean httpOnlyCookie = Boolean.parseBoolean(ssoToken.getProperty(HTTP_ONLY_COOKIE_KEY)); 84 String cookieName = ssoToken.getProperty(COOKIE_NAME_KEY); 85 String cookieDomainsString = ssoToken 74 generateConfig(HttpServletRequest request, HttpServletResponse response, SSOToken ssoToken) argument 115 onLoginSuccess(MessageInfo messageInfo, Map requestParamsMap, HttpServletRequest request, HttpServletResponse response, SSOToken ssoToken) argument 159 onLogout(HttpServletRequest request, HttpServletResponse response, SSOToken ssoToken) argument [all...] |
/forgerock/openam-v13/openam-selfservice/src/main/java/org/forgerock/openam/selfservice/ |
H A D | SelfServiceRestRouteProvider.java | 20 import static org.forgerock.openam.rest.Routers.ssoToken; 44 ssoToken() 53 ssoToken() 62 ssoToken() 71 .authenticateWith(ssoToken()) 76 .authenticateWith(ssoToken())
|