org.apache.juddi.auth
Class AuthenticatorTest

java.lang.Object
  extended by org.apache.juddi.auth.AuthenticatorTest

public class AuthenticatorTest
extends Object

Author:
Kurt T Stam

Constructor Summary
AuthenticatorTest()
           
 
Method Summary
 void testBadCryptedXMLDocAuthenticator()
          The credentials will be read from the juddi-users-encrypted.xml in the test/resources directory of this module.
 void testBadXMLDocAuthenticator()
          The credentials will be read from the juddi-users.xml in the test/resources directory of this module.
 void testCreateJuddiUsers()
           
 void testCreateJuddiUsersEncrypted()
           
 void testCryptedXMLDocAuthenticator()
          The credentials will be read from the juddi-users.xml in the test/resources directory of this module.
 void testDefaultAuthenticator()
          The DefaultAuthenticator is basically a pass-through.
 void testXMLDocAuthenticator()
          The credentials will be read from the juddi-users.xml in the test/resources directory of this module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorTest

public AuthenticatorTest()
Method Detail

testDefaultAuthenticator

public void testDefaultAuthenticator()
The DefaultAuthenticator is basically a pass-through.

Throws:
ConfigurationException

testCreateJuddiUsers

public void testCreateJuddiUsers()
                          throws Exception
Throws:
Exception

testXMLDocAuthenticator

public void testXMLDocAuthenticator()
The credentials will be read from the juddi-users.xml in the test/resources directory of this module. We're expecting the following authentication requests to succeed.


testBadXMLDocAuthenticator

public void testBadXMLDocAuthenticator()
                                throws Exception
The credentials will be read from the juddi-users.xml in the test/resources directory of this module. We're expecting the following authentication request to fail due to a bad password.

Throws:
AuthenticationException
FatalErrorException
IOException
javax.xml.bind.JAXBException
Exception

testCreateJuddiUsersEncrypted

public void testCreateJuddiUsersEncrypted()
                                   throws Exception
Throws:
Exception

testCryptedXMLDocAuthenticator

public void testCryptedXMLDocAuthenticator()
The credentials will be read from the juddi-users.xml in the test/resources directory of this module. We're expecting the following authentication requests to succeed.


testBadCryptedXMLDocAuthenticator

public void testBadCryptedXMLDocAuthenticator()
                                       throws Exception
The credentials will be read from the juddi-users-encrypted.xml in the test/resources directory of this module. We're expecting the following authentication request to fail due to a bad password.

Throws:
AuthenticationException
FatalErrorException
IOException
javax.xml.bind.JAXBException
Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.