All Frameworks  Class Hierarchy  This Framework  Indexes   

PLMSecuritySSOCClient Class PLMSSOCredential

Usage: you must use this class as is. You should never derive it.


public class PLMSSOCredential

Role: This Object represents a credential.
It is a common name for any critical information used to authenticate yourself on a given System.


Constructor and Destructor Index


o PLMSSOCredential(CATUnicodeString,CATUnicodeString)
Construct a credential with a given name and value.
o PLMSSOCredential()
Construct an empty credential with a given name and value.

Method Index


o GetCredentialName(CATUnicodeString&)
Retrieve the name of the credential.
o GetCredentialValue(CATUnicodeString&)
Retrieve the value of the credential.
o operator!=(PLMSSOCredential&)
Inequality operator.
o operator==(PLMSSOCredential&)
Equality operator.
o operator=(PLMSSOCredential&)
Assignment operator from a PLMSSOCredential instance.

Constructor and Destructor


o PLMSSOCredential
public PLMSSOCredential( iName,
iValue)
Construct a credential with a given name and value.
Parameters:
iName
the name of the credential.
iValue
the value of the credential.
o PLMSSOCredential
public PLMSSOCredential()
Construct an empty credential with a given name and value.

Methods


o GetCredentialName
public GetCredentialName( oName)
Retrieve the name of the credential.
Parameters:
oName
the name of the credential.
Returns:
return S_OK if succesfull, E_FAIL otherwise.
o GetCredentialValue
public GetCredentialValue( oValue)
Retrieve the value of the credential.
Parameters:
oName
the value of the credential.
Returns:
return S_OK if succesfull, E_FAIL otherwise.
o operator!=
public operator!=( const iCredential)
Inequality operator.
Parameters:
iCredential
The SSOCredential to compare with the current one.
Returns:
boolean
Legal values: 0: FALSE or Other: TRUE if both name and value are not equal, credentials are different.
o operator==
public operator==( const iCredential)
Equality operator.
Parameters:
iCredential
The SSOCredential to compare with the current one.
Returns:
boolean
Legal values: 0: FALSE or Other: TRUE if both name and value are equal, credentials are equal.
o operator=
public operator=( const iCredential)
Assignment operator from a PLMSSOCredential instance.
Parameters:
iCredential
The provided credential.
Returns:
The credential resulting from the assignment.

This object is included in the file: PLMSSOCredential.h
If needed, your Imakefile.mk should include the module: PLMSSOCAAClient

Copyright © 2003, Dassault Systèmes. All rights reserved.