org.apache.jetspeed.security.spi.impl
Class DefaultUserSecurityHandler

java.lang.Object
  extended by org.apache.jetspeed.security.spi.impl.DefaultUserSecurityHandler
All Implemented Interfaces:
org.apache.jetspeed.security.spi.UserSecurityHandler

public class DefaultUserSecurityHandler
extends Object
implements org.apache.jetspeed.security.spi.UserSecurityHandler

Author:
David Le Strat
See Also:
UserSecurityHandler

Field Summary
private  org.apache.jetspeed.security.spi.SecurityAccess securityAccess
          SecurityAccess.
 
Constructor Summary
DefaultUserSecurityHandler(org.apache.jetspeed.security.spi.SecurityAccess securityAccess)
          Constructor providing access to the SecurityAccess implementation.
 
Method Summary
 void addUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
           
 Principal getUserPrincipal(String username)
           
 List getUserPrincipals(String filter)
           
 boolean isUserPrincipal(String userName)
           
 void removeUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
           
 void updateUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securityAccess

private org.apache.jetspeed.security.spi.SecurityAccess securityAccess
SecurityAccess.

Constructor Detail

DefaultUserSecurityHandler

public DefaultUserSecurityHandler(org.apache.jetspeed.security.spi.SecurityAccess securityAccess)

Constructor providing access to the SecurityAccess implementation.

Method Detail

isUserPrincipal

public boolean isUserPrincipal(String userName)
Specified by:
isUserPrincipal in interface org.apache.jetspeed.security.spi.UserSecurityHandler
See Also:
UserSecurityHandler.isUserPrincipal(java.lang.String)

getUserPrincipal

public Principal getUserPrincipal(String username)
Specified by:
getUserPrincipal in interface org.apache.jetspeed.security.spi.UserSecurityHandler
See Also:
UserSecurityHandler.getUserPrincipal(java.lang.String)

getUserPrincipals

public List getUserPrincipals(String filter)
Specified by:
getUserPrincipals in interface org.apache.jetspeed.security.spi.UserSecurityHandler
See Also:
UserSecurityHandler.getUserPrincipals(java.lang.String)

addUserPrincipal

public void addUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
                      throws org.apache.jetspeed.security.SecurityException
Specified by:
addUserPrincipal in interface org.apache.jetspeed.security.spi.UserSecurityHandler
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
UserSecurityHandler.addUserPrincipal(org.apache.jetspeed.security.UserPrincipal)

updateUserPrincipal

public void updateUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
                         throws org.apache.jetspeed.security.SecurityException
Specified by:
updateUserPrincipal in interface org.apache.jetspeed.security.spi.UserSecurityHandler
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
UserSecurityHandler.updateUserPrincipal(org.apache.jetspeed.security.UserPrincipal)

removeUserPrincipal

public void removeUserPrincipal(org.apache.jetspeed.security.UserPrincipal userPrincipal)
                         throws org.apache.jetspeed.security.SecurityException
Specified by:
removeUserPrincipal in interface org.apache.jetspeed.security.spi.UserSecurityHandler
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
UserSecurityHandler.removeUserPrincipal(org.apache.jetspeed.security.UserPrincipal)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.