org.springframework.richclient.security.support
Class UserRoleSecurityControllerTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.richclient.security.support.UserRoleSecurityControllerTests
All Implemented Interfaces:
junit.framework.Test

public class UserRoleSecurityControllerTests
extends junit.framework.TestCase

Author:
Larry Streepy

Nested Class Summary
 class UserRoleSecurityControllerTests.TestUserRoleSecurityController
          More accessible implementation.
 
Constructor Summary
UserRoleSecurityControllerTests()
           
 
Method Summary
protected  void setUp()
           
 void testAuthorization()
          Test that objects are properly authorized when the user holds any of the indicated roles.
 void testSetAuthorizingRoles()
          Test that the role string is properly parsed
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserRoleSecurityControllerTests

public UserRoleSecurityControllerTests()
Method Detail

setUp

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

testSetAuthorizingRoles

public void testSetAuthorizingRoles()
Test that the role string is properly parsed


testAuthorization

public void testAuthorization()
Test that objects are properly authorized when the user holds any of the indicated roles.



Copyright © 2004-2009 The Spring Framework. All Rights Reserved.