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
-
AccessConfiguration()
- Construct a realm configuration manager.
-
addConfig(String, HttpAuthentication, String)
- Add the access configuration for the protected object.
-
deleteConfig(String)
- Delete the access configuration for the resource
-
getConfig(String)
- get the authentication manager that guards the protected object.
-
getProtectedObjects()
- return an enumeration of all the objects that are
protected.
-
isProtected(String)
- return whether or not a resrouce is protected
-
reset()
- clear all the configuration
AccessConfiguration
public AccessConfiguration()
- Construct a realm configuration manager.
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.
deleteConfig
public synchronized void deleteConfig(String resource)
- Delete the access configuration for the resource
- Parameters:
- resource - the object being protected
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.
getProtectedObjects
public synchronized Enumeration getProtectedObjects()
- return an enumeration of all the objects that are
protected.
- Returns:
- a list of the objects that are protected.
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.
reset
public synchronized void reset()
- clear all the configuration
All Packages Class Hierarchy This Package Previous Next Index