|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Integration tests for AuthorizeTagLib
.
Field Summary | |
---|---|
Expando |
_user
|
def |
transactional
|
Constructor Summary | |
AuthorizeTagLibTests()
|
Method Summary | |
---|---|
void |
authenticate(String roles)
|
void |
authenticate(def principal, String roles)
|
def |
parseRoles(String roles)
|
void |
tearDown()
|
void |
testIfAllGranted()
Test ifAllGranted(). |
void |
testIfAnyGranted()
Test ifAnyGranted(). |
void |
testIfNotGrantedMissingRole()
Test ifNotGranted(). |
void |
testIsLoggedInTrue()
Test isLoggedIn(). |
void |
testIsNotLoggedIn()
Test isNotLoggedIn(). |
void |
testLoggedInUserInfoWithDomainClass()
Test loggedInUserInfo() for a principal that has a 'domainClass' property. |
void |
testLoggedInUserInfoWithoutDomainClass()
Test loggedInUserInfo() for a principal that doesn't have a 'domainClass' property. |
void |
testLoggedInUsername()
|
Constructor Detail |
---|
AuthorizeTagLibTests()
Method Detail |
---|
void authenticate(String roles)
void authenticate(def principal, String roles)
def parseRoles(String roles)
void tearDown()
void testIfAllGranted()
void testIfAnyGranted()
void testIfNotGrantedMissingRole()
void testIsLoggedInTrue()
void testIsNotLoggedIn()
void testLoggedInUserInfoWithDomainClass()
void testLoggedInUserInfoWithoutDomainClass()
void testLoggedInUsername()