Class OIDCClientInfoCredentialValidatorTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.authn.impl.testing.BaseAuthenticationContextTest
-
- net.shibboleth.idp.plugin.oidc.op.authn.impl.OIDCClientInfoCredentialValidatorTest
-
public class OIDCClientInfoCredentialValidatorTest extends net.shibboleth.idp.authn.impl.testing.BaseAuthenticationContextTestUnit test forOIDCClientInfoCredentialValidator.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.authn.impl.ValidateCredentialsactionprivate com.nimbusds.oauth2.sdk.id.ClientIDclientIdprivate com.nimbusds.oauth2.sdk.auth.SecretclientSecretprivate net.shibboleth.idp.plugin.oidc.op.authn.impl.OIDCClientInfoCredentialValidatorvalidator
-
Constructor Summary
Constructors Constructor Description OIDCClientInfoCredentialValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestAuthorized()voidtestAuthorizedSHA2()voidtestBadPassword()voidtestMissingFlow()voidtestMissingUser()voidtestMissingUser2()
-
-
-
Field Detail
-
clientId
private com.nimbusds.oauth2.sdk.id.ClientID clientId
-
clientSecret
private com.nimbusds.oauth2.sdk.auth.Secret clientSecret
-
validator
private net.shibboleth.idp.plugin.oidc.op.authn.impl.OIDCClientInfoCredentialValidator validator
-
action
private net.shibboleth.idp.authn.impl.ValidateCredentials action
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws ComponentInitializationException
- Overrides:
setUpin classnet.shibboleth.idp.authn.impl.testing.BaseAuthenticationContextTest- Throws:
ComponentInitializationException
-
testMissingFlow
public void testMissingFlow()
-
testMissingUser
public void testMissingUser()
-
testMissingUser2
public void testMissingUser2()
-
testBadPassword
public void testBadPassword()
-
testAuthorized
public void testAuthorized()
-
testAuthorizedSHA2
public void testAuthorizedSHA2() throws NoSuchAlgorithmException- Throws:
NoSuchAlgorithmException
-
-