Searched refs:getSTSInstanceState (Results 1 - 16 of 16) sorted by relevance

/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/state/
H A DSTSInstanceStateProvider.java40 T getSTSInstanceState(String instanceId, String realm) throws TokenCreationException, STSPublishException; method in interface:STSInstanceStateProvider
H A DSTSInstanceStateProviderBase.java75 public T getSTSInstanceState(String instanceId, String realm) throws TokenCreationException, STSPublishException { method in class:STSInstanceStateProviderBase
/forgerock/openam/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/state/
H A DSTSInstanceStateProvider.java40 T getSTSInstanceState(String instanceId, String realm) throws TokenCreationException, STSPublishException; method in interface:STSInstanceStateProvider
H A DSTSInstanceStateProviderBase.java75 public T getSTSInstanceState(String instanceId, String realm) throws TokenCreationException, STSPublishException { method in class:STSInstanceStateProviderBase
/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/test/java/org/forgerock/openam/sts/tokengeneration/saml2/
H A DRestSTSInstanceStateProviderTest.java97 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
104 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM); //initializes the cache with the mocked config
108 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
109 //the mockConfigStore should only have been called once, with the first invocation of provider.getSTSInstanceState -
H A DSoapSTSInstanceStateProviderTest.java100 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
107 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM); //initializes the cache with the mocked config
111 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
112 //the mockConfigStore should only have been called once, with the first invocation of provider.getSTSInstanceState -
H A DSAML2TokenGenerationImplTest.java156 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(SIGN_ASSERTION),
164 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(SIGN_ASSERTION),
172 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(SIGN_ASSERTION),
180 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(!SIGN_ASSERTION),
186 private STSInstanceState getSTSInstanceState(boolean signAssertion) throws Exception { method in class:SAML2TokenGenerationImplTest
H A DRestSTSInstanceStateServiceListenerTest.java107 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM);
115 RestSTSInstanceConfig providerConfig = provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig();
H A DSoapSTSInstanceStateServiceListenerTest.java108 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM);
116 SoapSTSInstanceConfig providerConfig = provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig();
/forgerock/openam/openam-sts/openam-token-service-sts/src/test/java/org/forgerock/openam/sts/tokengeneration/saml2/
H A DRestSTSInstanceStateProviderTest.java97 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
104 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM); //initializes the cache with the mocked config
108 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
109 //the mockConfigStore should only have been called once, with the first invocation of provider.getSTSInstanceState -
H A DSoapSTSInstanceStateProviderTest.java100 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
107 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM); //initializes the cache with the mocked config
111 assertEquals(provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig(), instanceConfig);
112 //the mockConfigStore should only have been called once, with the first invocation of provider.getSTSInstanceState -
H A DSAML2TokenGenerationImplTest.java156 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(SIGN_ASSERTION),
164 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(SIGN_ASSERTION),
172 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(SIGN_ASSERTION),
180 String assertion = saml2TokenGeneration.generate(mock(SSOToken.class), getSTSInstanceState(!SIGN_ASSERTION),
186 private STSInstanceState getSTSInstanceState(boolean signAssertion) throws Exception { method in class:SAML2TokenGenerationImplTest
H A DRestSTSInstanceStateServiceListenerTest.java107 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM);
115 RestSTSInstanceConfig providerConfig = provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig();
H A DSoapSTSInstanceStateServiceListenerTest.java108 provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM);
116 SoapSTSInstanceConfig providerConfig = provider.getSTSInstanceState(DEPLOYMENT_URL_ELEMENT, REALM).getConfig();
/forgerock/openam-v13/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/service/
H A DTokenGenerationService.java125 stsInstanceState = getSTSInstanceState(invocationState);
211 private STSInstanceState getSTSInstanceState(TokenGenerationServiceInvocationState invocationState) throws ResourceException { method in class:TokenGenerationService
215 stsInstanceState = restSTSInstanceStateProvider.getSTSInstanceState(invocationState.getStsInstanceId(), invocationState.getRealm());
217 stsInstanceState = soapSTSInstanceStateProvider.getSTSInstanceState(invocationState.getStsInstanceId(), invocationState.getRealm());
/forgerock/openam/openam-sts/openam-token-service-sts/src/main/java/org/forgerock/openam/sts/tokengeneration/service/
H A DTokenGenerationService.java125 stsInstanceState = getSTSInstanceState(invocationState);
211 private STSInstanceState getSTSInstanceState(TokenGenerationServiceInvocationState invocationState) throws ResourceException { method in class:TokenGenerationService
215 stsInstanceState = restSTSInstanceStateProvider.getSTSInstanceState(invocationState.getStsInstanceId(), invocationState.getRealm());
217 stsInstanceState = soapSTSInstanceStateProvider.getSTSInstanceState(invocationState.getStsInstanceId(), invocationState.getRealm());

Completed in 31 milliseconds