Class sun.server.http.security.AccessConfiguration
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.server.http.security.AccessConfiguration

java.lang.Object
   |
   +----sun.server.http.security.AccessConfiguration

public class AccessConfiguration
extends Object

Constructor Index

 o AccessConfiguration()
Construct a realm configuration manager.

Method Index

 o addConfig(String, HttpAuthentication, String)
Add the access configuration for the protected object.
 o deleteConfig(String)
Delete the access configuration for the resource
 o getConfig(String)
get the authentication manager that guards the protected object.
 o getProtectedObjects()
return an enumeration of all the objects that are protected.
 o isProtected(String)
return whether or not a resrouce is protected
 o reset()
clear all the configuration

Constructors

 o AccessConfiguration
  public AccessConfiguration()
Construct a realm configuration manager.

Methods

 o addConfig
  public synchronized void addConfig(String resource,
                                     HttpAuthentication authenticationMgr,
                                     String aclName)
Add the access configuration for the protected object. The configuration identifies the authentication scheme, and acl that guards the object.
Parameters:
resource - the object being protected
authenticationMgr - the authentication interface that guards this object.
aclName - the name of the ACL that guards this interface.
 o deleteConfig
  public synchronized void deleteConfig(String resource)
Delete the access configuration for the resource
Parameters:
resource - the object being protected
 o getConfig
  public synchronized ProtectionAttributes getConfig(String resource)
get the authentication manager that guards the protected object.
Parameters:
resource - the object that is being guarded.
Returns:
the ProtectionAttributes object that guards this object.
 o getProtectedObjects
  public synchronized Enumeration getProtectedObjects()
return an enumeration of all the objects that are protected.
Returns:
a list of the objects that are protected.
 o isProtected
  public synchronized boolean isProtected(String resource)
return whether or not a resrouce is protected
Returns:
true if the resource is protected - false if not.
 o reset
  public synchronized void reset()
clear all the configuration

All Packages  Class Hierarchy  This Package  Previous  Next  Index