Search in sources :

Example 1 with PEMDecoder

use of org.forgerock.oauth2.core.PEMDecoder in project OpenAM by OpenRock.

the class OpenAMClientRegistrationTest method setup.

@BeforeMethod
public void setup() throws Exception {
    MockitoAnnotations.initMocks(this);
    ClientAuthenticationFailureFactory failureFactory = mock(ClientAuthenticationFailureFactory.class);
    clientRegistration = new OpenAMClientRegistration(amIdentity, new PEMDecoder(), resolver, providerSettings, failureFactory);
}
Also used : PEMDecoder(org.forgerock.oauth2.core.PEMDecoder) ClientAuthenticationFailureFactory(org.forgerock.oauth2.core.exceptions.ClientAuthenticationFailureFactory) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

PEMDecoder (org.forgerock.oauth2.core.PEMDecoder)1 ClientAuthenticationFailureFactory (org.forgerock.oauth2.core.exceptions.ClientAuthenticationFailureFactory)1 BeforeMethod (org.testng.annotations.BeforeMethod)1