org.acegisecurity.providers.cas
Class CasAuthenticationProviderTests

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

public class CasAuthenticationProviderTests
extends junit.framework.TestCase

Tests CasAuthenticationProvider.

Version:
$Id: CasAuthenticationProviderTests.java 2237 2007-11-07 21:55:59Z sbattaglia $
Author:
Ben Alex

Constructor Summary
CasAuthenticationProviderTests()
           
CasAuthenticationProviderTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testAuthenticateStateful()
           
 void testAuthenticateStateless()
           
 void testDetectsAMissingTicketId()
           
 void testDetectsAnInvalidKey()
           
 void testDetectsMissingAuthoritiesPopulator()
           
 void testDetectsMissingKey()
           
 void testDetectsMissingProxyDecider()
           
 void testDetectsMissingStatelessTicketCache()
           
 void testDetectsMissingTicketValidator()
           
 void testGettersSetters()
           
 void testIgnoresClassesItDoesNotSupport()
           
 void testIgnoresUsernamePasswordAuthenticationTokensWithoutCasIdentifiersAsPrincipal()
           
 void testSupports()
           
 
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

CasAuthenticationProviderTests

public CasAuthenticationProviderTests()

CasAuthenticationProviderTests

public CasAuthenticationProviderTests(String arg0)
Method Detail

main

public static void main(String[] args)

setUp

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

testAuthenticateStateful

public void testAuthenticateStateful()
                              throws Exception
Throws:
Exception

testAuthenticateStateless

public void testAuthenticateStateless()
                               throws Exception
Throws:
Exception

testDetectsAMissingTicketId

public void testDetectsAMissingTicketId()
                                 throws Exception
Throws:
Exception

testDetectsAnInvalidKey

public void testDetectsAnInvalidKey()
                             throws Exception
Throws:
Exception

testDetectsMissingAuthoritiesPopulator

public void testDetectsMissingAuthoritiesPopulator()
                                            throws Exception
Throws:
Exception

testDetectsMissingKey

public void testDetectsMissingKey()
                           throws Exception
Throws:
Exception

testDetectsMissingProxyDecider

public void testDetectsMissingProxyDecider()
                                    throws Exception
Throws:
Exception

testDetectsMissingStatelessTicketCache

public void testDetectsMissingStatelessTicketCache()
                                            throws Exception
Throws:
Exception

testDetectsMissingTicketValidator

public void testDetectsMissingTicketValidator()
                                       throws Exception
Throws:
Exception

testGettersSetters

public void testGettersSetters()
                        throws Exception
Throws:
Exception

testIgnoresClassesItDoesNotSupport

public void testIgnoresClassesItDoesNotSupport()
                                        throws Exception
Throws:
Exception

testIgnoresUsernamePasswordAuthenticationTokensWithoutCasIdentifiersAsPrincipal

public void testIgnoresUsernamePasswordAuthenticationTokensWithoutCasIdentifiersAsPrincipal()
                                                                                     throws Exception
Throws:
Exception

testSupports

public void testSupports()


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