|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.db2.wrapper.SqlqgBaseClass
com.ibm.db2.wrapper.RemoteUser
The RemoteUser class represents the authorizations to use on a data source server. Each instance of this class or its subclasses represents an authorization to use on the data source server that the wrapper works with. The RemoteUser base class implementation maintains the following information:
UserInfo
object that contains information about the data source
server and user pair that was stored in the federated server's system
catalog as a result of running DDL statements.
FencedGenericRemoteUser
class and the UnfencedGenericRemoteUser
class.
Field Summary | |
static java.lang.String |
REMOTE_AUTHID_OPTION
Constant that represents the name of the remote authorization ID option. |
static java.lang.String |
REMOTE_PASSWORD_OPTION
Constant that represents the name of the remote authorization password option. |
Method Summary | |
protected void |
destroy()
Destroys this user mapping object and frees any resources associated with it. |
UserInfo |
getInfo()
Retrieve the user mapping information that is stored in the federated server's system catalog as a result of running DDL statements. |
java.lang.String |
getLocalName()
Retrieve the name of the user on the local database. |
Wrapper |
getWrapper()
Retrieve the wrapper instance that this user mapping belongs to. |
protected void |
initializeMyUser(UserInfo userInfo)
Perform the necessary user mapping initialization. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String REMOTE_AUTHID_OPTION
public static final java.lang.String REMOTE_PASSWORD_OPTION
Method Detail |
protected void destroy() throws java.lang.Exception
UnfencedGenericRemoteUser
and
FencedGenericRemoteUser
.
java.lang.Exception
- if the processing fails.public final UserInfo getInfo()
UserInfo
public final java.lang.String getLocalName()
public final Wrapper getWrapper()
protected void initializeMyUser(UserInfo userInfo) throws java.lang.Exception
userInfo
- An instance of UserInfo that represents the user mapping information.
java.lang.Exception
- if the initialization process fails.UserInfo
|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(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.