All Frameworks  Class Hierarchy  This Framework  Indexes

PLMSecuritySSOBase Interface PLMISecSSOCLogContentProvider

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---PLMISecSSOCLogContentProvider
 

Usage: you can freely reimplement this interface.


interface PLMISecSSOCLogContentProvider

This interface allows to customize the content of the audit log on authentication events wihtin a c++ process.
It must be reimplemented on the SSOCLogContentProvider late type as shown bellow: SSOCLogContentProvider PLMISecSSOCLogContentProvider libName


Method Index


o onAuthenticationFailure(CATUnicodeString&,CATUnicodeString&)
Writes to the authentication audit log when autentication failed.
o onAuthenticationSuccess(CATUnicodeString&,CATUnicodeString&)
Writes to the authentication audit log when autentication is successful.

Methods


o onAuthenticationFailure
public virtual HRESULT onAuthenticationFailure( const CATUnicodeString& iUsername,
CATUnicodeString& oLogContent)=0
Writes to the authentication audit log when autentication failed.
This method is called whenever an autentication has failed.
Parameters:
iUsername
The SSO username used to perform the authentication
oLogContent
Authentication data to be logged
Returns:
S_OK if the method succeeded,a nd E_FAIL otherwise
o onAuthenticationSuccess
public virtual HRESULT onAuthenticationSuccess( const CATUnicodeString& iUsername,
CATUnicodeString& oLogContent)=0
Writes to the authentication audit log when autentication is successful.
This method is called whenever an autentication has been performed succesfully.
Parameters:
iUsername
The SSO username used to perform the authentication
oLogContent
Authentication data to be logged
Returns:
S_OK if the method succeeded,a nd E_FAIL otherwise

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

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