com.esri.arcgis.server
Class IIdentityProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IIdentityProxy
All Implemented Interfaces:
IIdentity, Externalizable, Serializable

public class IIdentityProxy
extends com.esri.arcgis.interop.Dispatch
implements IIdentity, Serializable

Provides access to members that define a user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IIdentityProxy()
           
  IIdentityProxy(Object obj)
           
protected IIdentityProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getDomainName()
          The domain name of the user.
 String getEncodedString()
          The base64 encoded copy of the encrypted password.
 String getPassword()
          The clear-text user password.
 String getUserName()
          The username of the user.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setDomainName(String domainName)
          The domain name of the user.
 void setEncodedString(String password)
          The base64 encoded copy of the encrypted password.
 void setPassword(String password)
          The clear-text user password.
 void setUserName(String userName)
          The username of the user.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IIdentityProxy

public IIdentityProxy()

IIdentityProxy

public IIdentityProxy(Object obj)
               throws IOException
Throws:
IOException

IIdentityProxy

protected IIdentityProxy(Object obj,
                         String iid)
                  throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

setUserName

public void setUserName(String userName)
                 throws IOException,
                        AutomationException
The username of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setUserName in interface IIdentity
Parameters:
userName - The userName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUserName

public String getUserName()
                   throws IOException,
                          AutomationException
The username of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getUserName in interface IIdentity
Returns:
The userName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomainName

public void setDomainName(String domainName)
                   throws IOException,
                          AutomationException
The domain name of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setDomainName in interface IIdentity
Parameters:
domainName - The domainName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomainName

public String getDomainName()
                     throws IOException,
                            AutomationException
The domain name of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDomainName in interface IIdentity
Returns:
The domainName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPassword

public void setPassword(String password)
                 throws IOException,
                        AutomationException
The clear-text user password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setPassword in interface IIdentity
Parameters:
password - The password (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPassword

public String getPassword()
                   throws IOException,
                          AutomationException
The clear-text user password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPassword in interface IIdentity
Returns:
The password
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEncodedString

public void setEncodedString(String password)
                      throws IOException,
                             AutomationException
The base64 encoded copy of the encrypted password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setEncodedString in interface IIdentity
Parameters:
password - The password (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEncodedString

public String getEncodedString()
                        throws IOException,
                               AutomationException
The base64 encoded copy of the encrypted password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getEncodedString in interface IIdentity
Returns:
The password
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException