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

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

public class DefaultRoleSecurityHandler
extends Object
implements org.apache.jetspeed.security.spi.RoleSecurityHandler

Author:
David Le Strat , David Sean Taylor
See Also:
RoleSecurityHandler

Field Summary
private  org.apache.jetspeed.security.spi.SecurityAccess commonQueries
          Common queries.
 
Constructor Summary
DefaultRoleSecurityHandler(org.apache.jetspeed.security.spi.SecurityAccess commonQueries)
           Constructor providing access to the common queries.
 
Method Summary
 org.apache.jetspeed.security.RolePrincipal getRolePrincipal(String roleFullPathName)
           
 List getRolePrincipals(String filter)
           
 void removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
           
 void setRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commonQueries

private org.apache.jetspeed.security.spi.SecurityAccess commonQueries
Common queries.

Constructor Detail

DefaultRoleSecurityHandler

public DefaultRoleSecurityHandler(org.apache.jetspeed.security.spi.SecurityAccess commonQueries)

Constructor providing access to the common queries.

Method Detail

getRolePrincipal

public org.apache.jetspeed.security.RolePrincipal getRolePrincipal(String roleFullPathName)
Specified by:
getRolePrincipal in interface org.apache.jetspeed.security.spi.RoleSecurityHandler
See Also:
RoleSecurityHandler.getRolePrincipal(java.lang.String)

setRolePrincipal

public void setRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
                      throws org.apache.jetspeed.security.SecurityException
Specified by:
setRolePrincipal in interface org.apache.jetspeed.security.spi.RoleSecurityHandler
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
RoleSecurityHandler.setRolePrincipal(org.apache.jetspeed.security.RolePrincipal)

removeRolePrincipal

public void removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
                         throws org.apache.jetspeed.security.SecurityException
Specified by:
removeRolePrincipal in interface org.apache.jetspeed.security.spi.RoleSecurityHandler
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
RoleSecurityHandler.removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal)

getRolePrincipals

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


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