org.apache.avalon.composition.model.impl
Class DefaultSecurityModel

java.lang.Object
  extended byorg.apache.avalon.composition.model.impl.DefaultSecurityModel
All Implemented Interfaces:
SecurityModel

public final class DefaultSecurityModel
extends Object
implements SecurityModel

Implementation of the default security model.

Version:
$Revision: 1.1.1.2 $ $Date: 2004/05/19 09:33:40 $
Author:
Avalon Development Team

Constructor Summary
DefaultSecurityModel()
          Creation of a disabled security model.
DefaultSecurityModel(SecurityProfile profile)
          Creation of a new security model.
 
Method Summary
 String getName()
          Return the name of the security profile backing the model.
 Permissions getPermissions()
          Return the set of default permissions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSecurityModel

public DefaultSecurityModel()
Creation of a disabled security model.


DefaultSecurityModel

public DefaultSecurityModel(SecurityProfile profile)
Creation of a new security model.

Parameters:
profile - the security profile
Method Detail

getName

public String getName()
Return the name of the security profile backing the model.

Specified by:
getName in interface SecurityModel
Returns:
the profile name

getPermissions

public Permissions getPermissions()
Return the set of default permissions.

Specified by:
getPermissions in interface SecurityModel
Returns:
the permissions


Copyright © The Apache Software Foundation. All Rights Reserved.