|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jutil.PDEnvironmentObject
com.tivoli.pd.jadmin.PDSSOResource
public class PDSSOResource
This class represents a single sign on (SSO) resource in the Security
Access Manager policy server. An SSO resource is a third-party resource
that has an authentication mechanism different from that
used by Security Access Manager. In order for a Security Access Manager user
to be able to access an SSO resource without re-authenticating,
Security Access Manager maintains the third-party authentication
information in a PDSSOCred
object for that user.
Modes: Local,Remote
Constructor Summary | |
---|---|
PDSSOResource(PDContext context,
java.lang.String rName,
PDMessages messages)
Creates a PDSSOResource object by retrieving the specified SSO resource data from the Security Access Manager policy server. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a copy of this object. |
static void |
createSSOResource(PDContext context,
java.lang.String rName,
java.lang.String description,
PDMessages messages)
Creates an SSO resource in the Security Access Manager policy server. |
static void |
deleteSSOResource(PDContext context,
java.lang.String rName,
PDMessages messages)
Deletes an SSO resource from the Security Access Manager policy server. |
boolean |
equals(java.lang.Object obj)
Determines whether this PDSSOResource object is equivalent to the input object. |
java.lang.String |
getDescription()
Returns the SSO resource description for this object. |
java.lang.String |
getId()
Returns the ID for this SSO resource as defined by Security Access Manager. |
static java.util.ArrayList |
listSSOResources(PDContext context,
PDMessages messages)
Lists all of the SSO resources in the Security Access Manager policy server. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class com.tivoli.pd.jutil.PDEnvironmentObject |
---|
getContext, setContext |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDSSOResource(PDContext context, java.lang.String rName, PDMessages messages) throws PDException
This constructor corresponds to the ivadmin_ssoweb_get() C API.
context
- the context for communicating with the
Security Access Manager policy server.rName
- the name of the SSO resource to instantiate. This
value cannot be null and must have a non-zero length.messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational or warning
messages on output.
PDException
- if an error occurs.
This exception may contain error and message codes defined in the
product Error Message Reference document.Method Detail |
---|
public java.lang.String getId() throws PDException
This method corresponds to the ivadmin_ssoweb_getid() C API.
PDException
public java.lang.String getDescription() throws PDException
This method corresponds to the ivadmin_ssoweb_getdescription() C API.
PDException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static void createSSOResource(PDContext context, java.lang.String rName, java.lang.String description, PDMessages messages) throws PDException
This constructor corresponds to the ivadmin_ssoweb_create() C API.
context
- the context for communicating with the
Security Access Manager policy server.rName
- the SSO resource name. This value cannot be null
and must have a non-zero length.description
- the description of the SSO resource. This value can
be null.messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational or warning
messages on output.
PDException
- if an error occurs.
This exception may contain error and message codes defined in the
product Error Message Reference document.public static void deleteSSOResource(PDContext context, java.lang.String rName, PDMessages messages) throws PDException
This method corresponds to the ivadmin_ssoweb_delete() C API.
context
- the context for communicating with the
Security Access Manager policy server.rName
- the Security Access Manager SSO resource name.
This value cannot be null and must have a non-zero length.messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational or warning
messages on output.
PDException
- if an error occurs.
This exception may contain error and message codes defined in the
product Error Message Reference document.public static java.util.ArrayList listSSOResources(PDContext context, PDMessages messages) throws PDException
This method corresponds to the ivadmin_ssoweb_list() C API.
context
- the context for communicating with the
Security Access Manager policy server.messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational or warning
messages on output.
PDException
- if an error occurs.
This exception may contain error and message codes defined in the
product Error Message Reference document.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |