| org.apache.geronimo.jetty6.AbstractWebModuleTest org.apache.geronimo.jetty6.SecurityTest
SecurityTest | public class SecurityTest extends AbstractWebModuleTest (Code) | | Tests the JAAC security for Jetty by using both explicit and auto role mapping
version: $Rev: 545781 $ $Date: 2007-06-09 10:44:02 -0700 (Sat, 09 Jun 2007) $ |
buildPrincipalRoleMap | public void buildPrincipalRoleMap(Security security, Map roleDesignates, Map principalRoleMap)(Code) | | |
startWebApp | protected void startWebApp(Map roleDesignates, Map principalRoleMap, ComponentPermissions componentPermissions, SubjectInfo defaultSubjectInfo, PermissionCollection checked, Set securityRoles) throws Exception(Code) | | |
testExplicitMapping | public void testExplicitMapping() throws Exception(Code) | | Test the explicit map feature. Only Alan should be able to log in.
throws: Exception - thrown if an error in the test occurs |
Methods inherited from org.apache.geronimo.jetty6.AbstractWebModuleTest | protected void setUp() throws Exception(Code)(Java Doc) protected JettyWebAppContext setUpAppContext(String realmName, String securityRealmName, Authenticator authenticator, String policyContextId, PermissionCollection excludedPermissions, RunAsSource runAsSource, PermissionCollection checkedPermissions, String uriString) throws Exception(Code)(Java Doc) protected JettyWebAppContext setUpSecureAppContext(String securityRealmName, Map roleDesignates, Map principalRoleMap, ComponentPermissions componentPermissions, SubjectInfo defaultSubjectInfo, PermissionCollection checked, Set securityRoles) throws Exception(Code)(Java Doc) protected void setUpSecurity() throws Exception(Code)(Java Doc) protected void setUpStaticContentServlet(JettyServletRegistration webModule) throws Exception(Code)(Java Doc) protected void tearDown() throws Exception(Code)(Java Doc) protected void tearDownSecurity() throws Exception(Code)(Java Doc)
|
|
|