net.sf.jportlet.portlet.descriptor
Class AuthConstraintDescriptor
java.lang.Object
|
+--net.sf.jportlet.portlet.descriptor.AuthConstraintDescriptor
- public class AuthConstraintDescriptor
- extends java.lang.Object
The AuthConstraintDescriptor
describe the authorization constraint
- Author:
- Herve Tchepannou
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthConstraintDescriptor
public AuthConstraintDescriptor()
addRole
public void addRole(java.lang.String role)
containsRole
public boolean containsRole(java.lang.String role)
containsRoles
public boolean containsRoles(java.util.Collection roles)
getMode
public java.lang.String getMode()
- Returns:
- String
getRoles
public java.util.Collection getRoles()
- Returns:
- Collection
isAllowAnonymous
public boolean isAllowAnonymous()
- Returns:
- boolean
setAllowAnonymous
public void setAllowAnonymous(boolean allowAnonymous)
- Sets the allowAnonymous.
- Parameters:
allowAnonymous
- The allowAnonymous to set
setMode
public void setMode(java.lang.String mode)
- Sets the mode.
- Parameters:
mode
- The mode to set
Copyright © 2002 Herve Tchepannou. All Rights Reserved.