net.sf.jguard.jee
Interface SecurityTestCase


public interface SecurityTestCase

TestCase for callers of PolicyEnforcementPoint like AccessFilter and AccessListener.

Author:
Charles Gay

Method Summary
 void testAccessToAuthorizedResourceGrantedToGuestSubject()
           
 void testAccessToAuthorizedResourceWithNoSubject()
           
 void testAccessToAuthorizedResourceWithSubject()
           
 void testAccessToUnauthorizedResourceWithNoSubject()
           
 void testAccessToUnauthorizedResourceWithSubject()
           
 void testSuccessFulAuthentication()
           
 void testUnsuccessfulAuthentication()
           
 

Method Detail

testAccessToAuthorizedResourceGrantedToGuestSubject

void testAccessToAuthorizedResourceGrantedToGuestSubject()
                                                         throws Exception
Throws:
Exception

testAccessToUnauthorizedResourceWithNoSubject

void testAccessToUnauthorizedResourceWithNoSubject()
                                                   throws Exception
Throws:
Exception

testAccessToUnauthorizedResourceWithSubject

void testAccessToUnauthorizedResourceWithSubject()
                                                 throws Exception
Throws:
Exception

testUnsuccessfulAuthentication

void testUnsuccessfulAuthentication()
                                    throws Exception
Throws:
Exception

testSuccessFulAuthentication

void testSuccessFulAuthentication()
                                  throws Exception
Throws:
Exception

testAccessToAuthorizedResourceWithSubject

void testAccessToAuthorizedResourceWithSubject()
                                               throws Exception
Throws:
Exception

testAccessToAuthorizedResourceWithNoSubject

void testAccessToAuthorizedResourceWithNoSubject()


Copyright © 2004-2011. All Rights Reserved.