com.tivoli.pd.jadmin
Class PDAppSvrSpecRemote
java.lang.Object
|
+--com.tivoli.pd.jadmin.PDAppSvrSpec
|
+--com.tivoli.pd.jadmin.PDAppSvrSpecRemote
- public class PDAppSvrSpecRemote
- extends PDAppSvrSpec
This class specifies the information needed to configure a Java
application server that executes Tivoli Access Manager administration Java
APIs or authorization Java APIs in remote mode only. That is, any
administration or authorization operation that this application server
performs requires communication with a Tivoli Access Manager policy server
or authorization server.
Constructor Summary |
PDAppSvrSpecRemote(java.lang.String configName,
java.lang.String description,
char[] password,
java.util.ArrayList groups,
java.lang.String host,
int port,
java.util.ArrayList plcyServers,
java.util.ArrayList authzServers,
java.util.Locale locale,
PDMessages messages)
Specifies data necessary to configure a Java application server that
will use the Tivoli Access Manager administration Java APIs or
authorization Java APIs in remote mode only. |
Methods inherited from class com.tivoli.pd.jadmin.PDAppSvrSpec |
getAuthzServers, getCertRefresh, getConfigName, getDescription, getGroups, getHost, getPassword, getPlcyServers, getPort, setAuthzServers, setCertRefresh, setConfigName, setDescription, setGroups, setHost, setPassword, setPlcyServers, setPort, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PDAppSvrSpecRemote
public PDAppSvrSpecRemote(java.lang.String configName,
java.lang.String description,
char[] password,
java.util.ArrayList groups,
java.lang.String host,
int port,
java.util.ArrayList plcyServers,
java.util.ArrayList authzServers,
java.util.Locale locale,
PDMessages messages)
throws PDException
- Specifies data necessary to configure a Java application server that
will use the Tivoli Access Manager administration Java APIs or
authorization Java APIs in remote mode only. That is, the application
server must contact a Tivoli Access Manager policy server or
authorization server as needed to execute the API.
This application server specification object can be used in the
PDAppSvrConfig.configureAppSvr method.
- Parameters:
configName
- the name of the application server. The name of the
user and server entities created in the user registry and the Tivoli
Access Manager policy database are constructed from this name and the
host argument. Cannot be null or empty.description
- a description for the application server. Can be
null or empty.password
- the application server's password. If this argument
is null or empty, a random password is generated during
configuration. Otherwise, the password must adhere to the
password policy in effect.groups
- an ArrayList of Strings that are the names of the
groups the application server should be made a member of.
Can be null or empty.host
- the host on which the application server will run.
Cannot be null or empty.port
- the TCP/IP port on which the application server will
listen for communications from the policy server(s). Must
be greater than zero.plcyServers
- a list of PDSvrInfo objects representing
the Tivoli Access Manager policy servers with which the application
server can communicate. At least one policy server must be listed.authzServers
- a list of PDSvrInfo objects representing
the Tivoli Access Manager authorization servers with which the
application server can communicate. At least one
authorization server must be listed.locale
- specifies the locale into which any generated error
or warning messages are translated. Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.- Throws:
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.