public class BrokerAccessControlList
extends java.lang.Object
For SSL, a user name is a distinguished name, and the authenticator should be the distinguished name of the issuing certificate authority.
Constructor and Description |
---|
BrokerAccessControlList()
Create an empty access control list (ACL).
|
BrokerAccessControlList(BrokerAccessControlList acl)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAuthNames()
Get the list of authenticator names which are allowed.
|
boolean |
getAuthNameState(java.lang.String name)
Get the allow state for a single authenticator name.
|
java.lang.String[] |
getUserNames()
Get the list of user names which are allowed access.
|
boolean |
getUserNameState(java.lang.String name)
Get the allow state for a single user name.
|
void |
setAuthNames(java.lang.String[] names)
Set the list of authenticator names which are allowed.
|
void |
setAuthNameState(java.lang.String name,
boolean is_allowed)
Set the allow state for a single authenticator name.
|
void |
setAuthNameStates(java.lang.String[] names,
boolean is_allowed)
Set the allow state for a list of authenticator names.
|
void |
setUserNames(java.lang.String[] names)
Set the list of user names which are allowed access.
|
void |
setUserNameState(java.lang.String name,
boolean is_allowed)
Set the allow state for a single user name.
|
void |
setUserNameStates(java.lang.String[] names,
boolean is_allowed)
Set the allow state for a list of user names.
|
java.lang.String |
toString()
Get a string with the ACL in a form suitable for human viewing.
|
java.lang.String |
toString(int indent_level,
java.lang.String name)
Get a string with the ACL in a form suitable for human viewing.
|
public BrokerAccessControlList()
public BrokerAccessControlList(BrokerAccessControlList acl) throws BrokerException
BrokerNullParameterException
- If acl is null.BrokerException
public java.lang.String[] getUserNames()
public void setUserNames(java.lang.String[] names) throws BrokerException
BrokerNullParameterException
- If names is null, or if any name in the array is null.BrokerBlankParameterException
- If names is blank, or if any name in the array is blank.BrokerException
public boolean getUserNameState(java.lang.String name) throws BrokerException
BrokerNullParameterException
- If name is null.BrokerException
public void setUserNameState(java.lang.String name, boolean is_allowed) throws BrokerException
BrokerNullParameterException
- If name is null.BrokerBlankParameterException
- If names is blank.BrokerException
public void setUserNameStates(java.lang.String[] names, boolean is_allowed) throws BrokerException
BrokerNullParameterException
- If names is null, or if any name in the array is null.BrokerBlankParameterException
- If names is blank, or if any name in the array is blank.BrokerException
public java.lang.String[] getAuthNames()
public void setAuthNames(java.lang.String[] names) throws BrokerException
BrokerNullParameterException
- If names is null, or if any name in the array is null.BrokerBlankParameterException
- If names is blank, or if any name in the array is blank.BrokerException
public boolean getAuthNameState(java.lang.String name) throws BrokerException
BrokerNullParameterException
- If name is null.BrokerException
public void setAuthNameState(java.lang.String name, boolean is_allowed) throws BrokerException
BrokerNullParameterException
- If name is null.BrokerBlankParameterException
- If name is blank.BrokerException
public void setAuthNameStates(java.lang.String[] names, boolean is_allowed) throws BrokerException
BrokerNullParameterException
- If names is null, or if any name in the array is null.BrokerBlankParameterException
- If names is blank, or if any name in the array is blank.BrokerException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent_level, java.lang.String name)
Copyright © 2002-2006 webMethods, Inc. Copyright © 2007-2021 Software AG Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.