Class ValidateCredentialsTest

    • Field Detail

      • action

        private net.shibboleth.idp.authn.impl.ValidateCredentials action
      • directoryServer

        private com.unboundid.ldap.listener.InMemoryDirectoryServer directoryServer
      • dnResolver

        private net.shibboleth.idp.authn.TemplateSearchDnResolver dnResolver
    • Constructor Detail

      • ValidateCredentialsTest

        public ValidateCredentialsTest()
    • Method Detail

      • setupDirectoryServer

        @BeforeClass
        public void setupDirectoryServer()
                                  throws com.unboundid.ldap.sdk.LDAPException
        Creates an UnboundID in-memory directory server. Leverages LDIF found in test resources.
        Throws:
        com.unboundid.ldap.sdk.LDAPException - if the in-memory directory server cannot be created
      • setupAuthenticator

        @BeforeClass
        public void setupAuthenticator()
        Creates an Authenticator configured to use the in-memory directory server.
      • teardownDirectoryServer

        @AfterClass
        public void teardownDirectoryServer()
        Shutdown the in-memory directory server.