|
|||||||||||
| 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)
UserSecurityHandlerChecks if a UserPrincipal exists
isUserPrincipal in interface UserSecurityHandleruserName -
UserSecurityHandler.isUserPrincipal(java.lang.String)public Principal getUserPrincipal(String username)
UserSecurityHandlerGets the user principal for the given user name.
getUserPrincipal in interface UserSecurityHandlerusername - The user name.
Principal- See Also:
UserSecurityHandler.getUserPrincipal(java.lang.String)public List getUserPrincipals(String filter)
UserSecurityHandlerGets the an iterator of user principals for a given filter.
getUserPrincipals in interface UserSecurityHandlerfilter - The filter.
PrincipalUserSecurityHandler.getUserPrincipals(java.lang.String)
public void addUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
throws org.apache.jetspeed.security.SecurityException
UserSecurityHandlerAdds a new user principal in the backing store.
addUserPrincipal in interface UserSecurityHandleruserPrincipal - 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
UserSecurityHandlerUpdates the user principal in the backing store.
updateUserPrincipal in interface UserSecurityHandleruserPrincipal - 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
UserSecurityHandlerRemoves the user principal.
removeUserPrincipal in interface UserSecurityHandleruserPrincipal - 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 | ||||||||||