org.acegisecurity.providers.jaas
Class JaasAuthenticationProviderTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.providers.jaas.JaasAuthenticationProviderTests
All Implemented Interfaces:
junit.framework.Test

public class JaasAuthenticationProviderTests
extends junit.framework.TestCase

Tests for the JaasAuthenticationProvider

Version:
$Id: JaasAuthenticationProviderTests.java 1985 2007-08-29 11:51:02Z luke_t $
Author:
Ray Krueger

Constructor Summary
JaasAuthenticationProviderTests()
           
 
Method Summary
protected  void setUp()
           
 void testBadPassword()
           
 void testBadUser()
           
 void testConfigurationLoop()
           
 void testDetectsMissingLoginConfig()
           
 void testDetectsMissingLoginContextName()
           
 void testFull()
           
 void testGetApplicationEventPublisher()
           
 void testLoginExceptionResolver()
           
 void testLogout()
           
 void testNullDefaultAuthorities()
           
 void testUnsupportedAuthenticationObjectReturnsNull()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaasAuthenticationProviderTests

public JaasAuthenticationProviderTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testBadPassword

public void testBadPassword()

testBadUser

public void testBadUser()

testConfigurationLoop

public void testConfigurationLoop()
                           throws Exception
Throws:
Exception

testDetectsMissingLoginConfig

public void testDetectsMissingLoginConfig()
                                   throws Exception
Throws:
Exception

testDetectsMissingLoginContextName

public void testDetectsMissingLoginContextName()
                                        throws Exception
Throws:
Exception

testFull

public void testFull()
              throws Exception
Throws:
Exception

testGetApplicationEventPublisher

public void testGetApplicationEventPublisher()
                                      throws Exception
Throws:
Exception

testLoginExceptionResolver

public void testLoginExceptionResolver()

testLogout

public void testLogout()
                throws Exception
Throws:
Exception

testNullDefaultAuthorities

public void testNullDefaultAuthorities()

testUnsupportedAuthenticationObjectReturnsNull

public void testUnsupportedAuthenticationObjectReturnsNull()


Copyright © 2004-2008 Interface21, Inc. All Rights Reserved.