INamespaceAuthenticationProvider2 Interface
The following methods can be used in this interface.
- init
- Specifies that the authentication namespace is being placed into
service.
This method is called only once for each instance of a namespace. The method must complete successfully before a namespace can receive any requests
- destroy
- Takes the namespace out of service.
This method is called after all the threads within the methods used by the namespace have exited, or after a time-out period has passed. After the engine calls this method, it does not call any methods for this namespace again. Any resources that are held, such as memory, file handles, or threads, must be cleaned up, and any persistent state is synchronized with the current state of the namespace in memory.
- logon
- Logs the user on to the authentication namespace.
- logoff
- Logs the user out of the authentication namespace.
- search
- Retrieves a subset of objects that exist in the specified authentication namespace.
In previous releases of IBM Cognos Analytics, the interface used to implement a custom authentication provider was named INamespaceAuthenticationProvider. The new interface, INamespaceAuthenticationProvider2, distinguishes between the information that comes from a credential and from a trusted credential. The old interface could not do that.
The INamespaceAuthenticationProvider interface is still supported for backward compatibility.