|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.spi.impl.DefaultUserSecurityHandler
UserSecurityHandler
Field Summary | |
private SecurityAccess |
securityAccess
SecurityAccess. |
Constructor Summary | |
DefaultUserSecurityHandler(SecurityAccess securityAccess)
Constructor providing access to the SecurityAccess implementation. |
Method Summary | |
void |
addUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
Adds a new user principal in the backing store. |
Principal |
getUserPrincipal(String username)
Gets the user principal for the given user name. |
List |
getUserPrincipals(String filter)
Gets the an iterator of user principals for a given filter. |
boolean |
isUserPrincipal(String userName)
Checks if a UserPrincipal exists |
void |
removeUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
Removes the user principal. |
void |
updateUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
Updates the user principal in the backing store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private SecurityAccess securityAccess
Constructor Detail |
public DefaultUserSecurityHandler(SecurityAccess securityAccess)
Constructor providing access to the SecurityAccess implementation.
Method Detail |
public boolean isUserPrincipal(String userName)
UserSecurityHandler
Checks if a UserPrincipal exists
isUserPrincipal
in interface UserSecurityHandler
userName
-
UserSecurityHandler.isUserPrincipal(java.lang.String)
public Principal getUserPrincipal(String username)
UserSecurityHandler
Gets the user principal for the given user name.
getUserPrincipal
in interface UserSecurityHandler
username
- The user name.
Principal- See Also:
UserSecurityHandler.getUserPrincipal(java.lang.String)
public List getUserPrincipals(String filter)
UserSecurityHandler
Gets the an iterator of user principals for a given filter.
getUserPrincipals
in interface UserSecurityHandler
filter
- The filter.
Principal
UserSecurityHandler.getUserPrincipals(java.lang.String)
public void addUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal) throws org.apache.jetspeed.security.SecurityException
UserSecurityHandler
Adds a new user principal in the backing store.
addUserPrincipal
in interface UserSecurityHandler
userPrincipal
- The new UserPrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.UserSecurityHandler.addUserPrincipal(org.apache.jetspeed.security.UserPrincipal)
public void updateUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal) throws org.apache.jetspeed.security.SecurityException
UserSecurityHandler
Updates the user principal in the backing store.
updateUserPrincipal
in interface UserSecurityHandler
userPrincipal
- The UserPrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.UserSecurityHandler.updateUserPrincipal(org.apache.jetspeed.security.UserPrincipal)
public void removeUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal) throws org.apache.jetspeed.security.SecurityException
UserSecurityHandler
Removes the user principal.
removeUserPrincipal
in interface UserSecurityHandler
userPrincipal
- The UserPrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.UserSecurityHandler.removeUserPrincipal(org.apache.jetspeed.security.UserPrincipal)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |