| |
|
| org.jboss.test.web.security.jacc.WebConstraintsUnitTestCase
WebConstraintsUnitTestCase | public class WebConstraintsUnitTestCase extends TestCase (Code) | | Test
Tests of various security-constraints
ConstraintsServlet
org.jboss.test.security.servlets.ConstraintsServlet
ConstraintsServlet
/*
excluded
No Access
/excluded/*
/restricted/get-only/excluded/*
/restricted/post-only/excluded/*
/restricted/any/excluded/*
No Access
/restricted/*
DELETE
PUT
HEAD
OPTIONS
TRACE
GET
POST
NONE
unchecked
All Access
/unchecked/*
DELETE
PUT
HEAD
OPTIONS
TRACE
GET
POST
NONE
Restricted GET
Restricted Access - Get Only
/restricted/get-only/*
GET
GetRole
NONE
Excluded GET
Restricted Access - Get Only
/restricted/get-only/*
DELETE
PUT
HEAD
OPTIONS
TRACE
POST
NONE
Restricted POST
Restricted Access - Post Only
/restricted/post-only/*
POST
PostRole
NONE
Excluded POST
Restricted Access - Post Only
/restricted/post-only/*
DELETE
PUT
HEAD
OPTIONS
TRACE
GET
NONE
Restricted ANY
Restricted Access - Any
/restricted/any/*
DELETE
PUT
HEAD
OPTIONS
TRACE
GET
POST
*
NONE
Unrestricted
Restricted Access - Any
/restricted/not/*
DELETE
PUT
HEAD
OPTIONS
TRACE
GET
POST
NONE
GetRole
PostRole
BASIC
WebConstraintsUnitTestCase
author: Scott.Stark@jboss.org version: $Revision: 57206 $ |
testExcludedAccess | public void testExcludedAccess() throws Exception(Code) | | Test that the excluded paths are not accessible by anyone
|
testPostAccess | public void testPostAccess() throws Exception(Code) | | Test POSTs against URLs that only allows the POST method and required
the PostRole role
|
|
|
|