org.apache.avalon.composition.data
Class SecurityProfile

java.lang.Object
  extended byorg.apache.avalon.composition.data.SecurityProfile
All Implemented Interfaces:
Serializable

public final class SecurityProfile
extends Object
implements Serializable

A security profile descriptor. The descriptor declares an immutable set of permissions that are associated under a named profile.

Version:
$Revision: 1.2 $ $Date: 2004/03/17 10:30:08 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
SecurityProfile(String name, PermissionDescriptor[] permissions)
          Creation of a new security profile using an asupplied name and set of permissions.
 
Method Summary
 String getName()
          Return the name of the security profile.
 PermissionDescriptor[] getPermissionDescriptors()
          Return the set of permission directives.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityProfile

public SecurityProfile(String name,
                       PermissionDescriptor[] permissions)
Creation of a new security profile using an asupplied name and set of permissions.

Parameters:
name - the profile name
permissions - the assigned permissions
Method Detail

getName

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

Returns:
the profile name

getPermissionDescriptors

public PermissionDescriptor[] getPermissionDescriptors()
Return the set of permission directives.

Returns:
the permission directives


Copyright © The Apache Software Foundation. All Rights Reserved.