|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.jetspeed.components.test.AbstractSpringTestCase org.apache.jetspeed.components.util.DatasourceEnabledSpringTestCase org.apache.jetspeed.prefs.util.test.AbstractPrefsSupportedTestCase org.apache.jetspeed.security.util.test.AbstractSecurityTestcase
public class AbstractSecurityTestcase
Field Summary | |
---|---|
protected org.apache.jetspeed.security.spi.CredentialHandler |
ch
SPI Default Credential Handler. |
protected org.apache.jetspeed.security.GroupManager |
gms
The group manager. |
protected org.apache.jetspeed.security.spi.GroupSecurityHandler |
gsh
SPI Default Group Security Handler. |
protected org.apache.jetspeed.security.PermissionManager |
pms
The permission manager. |
protected org.apache.jetspeed.security.RoleManager |
rms
The role manager. |
protected org.apache.jetspeed.security.spi.RoleSecurityHandler |
rsh
SPI Default Role Security Handler. |
protected org.apache.jetspeed.security.spi.SecurityAccess |
securityAccess
SPI Common Queries. |
protected org.apache.jetspeed.security.SecurityProvider |
securityProvider
The security provider. |
protected org.apache.jetspeed.security.spi.SecurityMappingHandler |
smh
SPI Default Security Mapping Handler. |
protected org.apache.jetspeed.security.UserManager |
ums
The user manager. |
protected org.apache.jetspeed.security.spi.UserSecurityHandler |
ush
SPI Default User Security Handler. |
Fields inherited from class org.apache.jetspeed.prefs.util.test.AbstractPrefsSupportedTestCase |
---|
prefsProvider |
Fields inherited from class org.apache.jetspeed.components.util.DatasourceEnabledSpringTestCase |
---|
jndiDS |
Fields inherited from class org.apache.jetspeed.components.test.AbstractSpringTestCase |
---|
ctx |
Constructor Summary | |
---|---|
AbstractSecurityTestcase()
|
Method Summary | |
---|---|
protected String[] |
getConfigurations()
|
protected Collection |
getPrincipals(Subject subject,
Class claz)
Returns subject's principals of type claz |
protected void |
setUp()
|
Methods inherited from class org.apache.jetspeed.prefs.util.test.AbstractPrefsSupportedTestCase |
---|
getBootConfigurations |
Methods inherited from class org.apache.jetspeed.components.util.DatasourceEnabledSpringTestCase |
---|
tearDown |
Methods inherited from class org.apache.jetspeed.components.test.AbstractSpringTestCase |
---|
getPostProcessProperties |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Field Detail |
---|
protected org.apache.jetspeed.security.spi.SecurityAccess securityAccess
protected org.apache.jetspeed.security.spi.CredentialHandler ch
protected org.apache.jetspeed.security.spi.UserSecurityHandler ush
protected org.apache.jetspeed.security.spi.RoleSecurityHandler rsh
protected org.apache.jetspeed.security.spi.GroupSecurityHandler gsh
protected org.apache.jetspeed.security.spi.SecurityMappingHandler smh
protected org.apache.jetspeed.security.SecurityProvider securityProvider
protected org.apache.jetspeed.security.UserManager ums
protected org.apache.jetspeed.security.GroupManager gms
protected org.apache.jetspeed.security.RoleManager rms
protected org.apache.jetspeed.security.PermissionManager pms
Constructor Detail |
---|
public AbstractSecurityTestcase()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class org.apache.jetspeed.prefs.util.test.AbstractPrefsSupportedTestCase
Exception
TestCase.setUp()
protected Collection getPrincipals(Subject subject, Class claz)
subject
- claz
-
protected String[] getConfigurations()
getConfigurations
in class org.apache.jetspeed.prefs.util.test.AbstractPrefsSupportedTestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |