IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

com.ibm.db2.wrapper
Class UnfencedRemoteUser

java.lang.Object
  extended bycom.ibm.db2.wrapper.SqlqgBaseClass
      extended bycom.ibm.db2.wrapper.RemoteUser
          extended bycom.ibm.db2.wrapper.UnfencedRemoteUser
Direct Known Subclasses:
UnfencedGenericRemoteUser

public class UnfencedRemoteUser
extends RemoteUser

The UnfencedRemoteUser class represents a user mapping in the unfenced (trusted) process space. This class is instantiated to validate the information that is specified in the CREATE USER MAPPING and ALTER USER MAPPING statements.

Usage:
Do not use the UnfencedRemoteUser class directly. Instantiating or subclassing the UnfencedRemoteUser class directly results in incorrect wrapper behavior. Instantiate or subclass the UnfencedGenericRemoteUser class.

Since:
IBM DB2 Information Integrator Version 8.2

Field Summary
 
Fields inherited from class com.ibm.db2.wrapper.RemoteUser
REMOTE_AUTHID_OPTION, REMOTE_PASSWORD_OPTION
 
Method Summary
protected  UserInfo verifyMyAlterUserInfo(UserInfo userInfo)
          Validate the user mapping information that is specified in the ALTER USER MAPPING statements.
protected  UserInfo verifyMyRegisterUserInfo(UserInfo userInfo)
          Validate the user mapping information that is specified in the CREATE USER MAPPING statements.
 
Methods inherited from class com.ibm.db2.wrapper.RemoteUser
destroy, getInfo, getLocalName, getWrapper, initializeMyUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

verifyMyAlterUserInfo

protected UserInfo verifyMyAlterUserInfo(UserInfo userInfo)
                                  throws java.lang.Exception
Validate the user mapping information that is specified in the ALTER USER MAPPING statements. By default, this method allows only reserved options and does not return additional information. This method must be implemented if wrapper-specific user mapping options are supported.

Parameters:
userInfo - A UserInfo object that contains the information that is provided in ALTER USER MAPPING statements.
Returns:
A UserInfo object with the information that was added by the wrapper.
Throws:
java.lang.Exception - if the verification process fails.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
UserInfo

verifyMyRegisterUserInfo

protected UserInfo verifyMyRegisterUserInfo(UserInfo userInfo)
                                     throws java.lang.Exception
Validate the user mapping information that is specified in the CREATE USER MAPPING statements. By default, this method allows only reserved options and does not return additional information. This method must be implemented if wrapper-specific user mapping options are supported.

Parameters:
userInfo - A UserInfo object that contains the information that is provided in CREATE USER MAPPING statements.
Returns:
A UserInfo object with the information that was added by the wrapper.
Throws:
java.lang.Exception - if the verification process fails.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
WrapperInfo

IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

(C)Copyright IBM Corp. 2002. All rights reserved.

Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.