The DISecurityLevel2_Current object is an Oracle implementation of the CORBA Security model. In this release of the Oracle Tuxedo software, the get_attributes(), set_credentials(), get_credentials(), and Principal_Authenticator() methods are supported.

This method can be used only to set SecInvocationCredentials; otherwise, ­set_credentials raises CORBA::BAD_PARAM. The credentials must have been obtained from a previous call to DISecurityLevel2_Current.get_credentials.

The DITobj_PrincipalAuthenticator object is used to log in to and log out of the Oracle Tuxedo domain. In this release of the Oracle Tuxedo software, the authenticate, build_auth_data(), continue_authentication(),get_auth_type(), logon(), and logoff() methods are implemented.

If user_name, client_name, or system_password is NULL or empty, or exceeds 30 characters, the subsequent authenticate method invocation raises the CORBA::BAD_PARAM exception.

Note:

The user_password and user_data parameters are mutually exclusive, depending on the requirements of the authentication service used in the configuration of the Oracle Tuxedo domain. The default authentication service expects a user password. A customized authentication service may require user data. If both user_password and user_data are specified, the subsequent authentication call raises the CORBA::BAD_PARAM exception.

The DISecurityLevel2_Credentials object is an Oracle implementation of the CORBA Security model. In this release of the Oracle Tuxedo software, the get_attributes() and is_valid() methods are supported.

This method returns TRUE if the credentials used are active at the time; that is, you did not call DITobj_PrincipalAuthenticator.logoff or destroy_current. If this method is called after DITobj_PrincipalAuthenticator.logoff(), FALSE is returned. If this method is called after destroy_current(), the CORBA::BAD_INV_ORDER exception is raised.