com.esri.arcgis.server
Class IServerObjectAdmin4Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerObjectAdminProxy
          extended by com.esri.arcgis.server.IServerObjectAdmin2Proxy
              extended by com.esri.arcgis.server.IServerObjectAdmin3Proxy
                  extended by com.esri.arcgis.server.IServerObjectAdmin4Proxy
All Implemented Interfaces:
IServerObjectAdmin, IServerObjectAdmin2, IServerObjectAdmin3, IServerObjectAdmin4, Externalizable, Serializable
Direct Known Subclasses:
IServerObjectAdmin5Proxy

public class IServerObjectAdmin4Proxy
extends IServerObjectAdmin3Proxy
implements IServerObjectAdmin4, Serializable

Provides access to members that administer the ArcGIS server.

Description

IServerObjectAdmin4 provides methods to retrieve server configuration information and to administer the ArcGIS Server.

The IServerObjectAdmin4 interface can be obtained by a query interface with the IServerObjectAdmin interface.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IServerObjectAdmin4Proxy()
           
  IServerObjectAdmin4Proxy(Object obj)
           
protected IServerObjectAdmin4Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean isSecurityEnabled()
          Indicates whether security is switched on or off.
 void removeListener(String iidStr, Object theListener)
           
 void setIsSecurityEnabled(boolean pVal)
          Indicates whether security is switched on or off.
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdmin3Proxy
getConfigurationsEx2
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdmin2Proxy
addExtensionType, createExtensionType, createFolder, deleteExtensionType, deleteFolder, disable, enable, getConfigurationsEx, getExtensionTypes, getFolderInfo, getFolders, getServerLog, renameFolder, setFolderInfo, validateConfiguration
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdminProxy
addConfiguration, addMachine, addServerDirectory, createConfiguration, createMachine, createServerDirectory, deleteConfiguration, deleteMachine, deleteServerDirectory, getConfiguration, getConfigurations, getConfigurationStatus, getMachine, getMachines, getProperties, getServerDirectories, getServerDirectory, getTypes, pauseConfiguration, setProperties, startConfiguration, stopConfiguration, updateConfiguration, updateMachine, updateServerDirectory
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin3
getConfigurationsEx2
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin2
addExtensionType, createExtensionType, createFolder, deleteExtensionType, deleteFolder, disable, enable, getConfigurationsEx, getExtensionTypes, getFolderInfo, getFolders, getServerLog, renameFolder, setFolderInfo, validateConfiguration
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin
addConfiguration, addMachine, addServerDirectory, createConfiguration, createMachine, createServerDirectory, deleteConfiguration, deleteMachine, deleteServerDirectory, getConfiguration, getConfigurations, getConfigurationStatus, getMachine, getMachines, getProperties, getServerDirectories, getServerDirectory, getTypes, pauseConfiguration, setProperties, startConfiguration, stopConfiguration, updateConfiguration, updateMachine, updateServerDirectory
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IServerObjectAdmin4Proxy

public IServerObjectAdmin4Proxy()

IServerObjectAdmin4Proxy

public IServerObjectAdmin4Proxy(Object obj)
                         throws IOException
Throws:
IOException

IServerObjectAdmin4Proxy

protected IServerObjectAdmin4Proxy(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 IServerObjectAdmin3Proxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IServerObjectAdmin3Proxy
Throws:
IOException

isSecurityEnabled

public boolean isSecurityEnabled()
                          throws IOException,
                                 AutomationException
Indicates whether security is switched on or off.

Remarks

IsSecurityEnabled has a Default value of OFF.

This switch does NOT affect

- any methods called on IServerObjectAdmin, IServerObjectAdmin2 or IServerObjectAdmin3

- any methods called on IServerObjectManager, IServerObjectManager2, IServerObjectManager3 or IServerObjectManager4 obtained from IGISServerConnection.ServerObjectManager..

This swtich DOES affect the following IServerObjectManager methods only when the interfaces are accessed through IGISServerConnection2.ServerObjectManager:


 IServerObjectManager.CreateServerContext

 IServerObjectManager.GetConfigurationInfo

 IServerObjectManager.GetConfigurationInfos



 IServerObjectManager2.GetConfigurationInfosEx

 IServerObjectManager2.GetFolders

 IServerObjectManager2.FolderInfo

 IServerObjectManager2.GetConfigurationStatus



 IServerObjectManager3.GetConfigurationInfosEx2

In the case that a user does not have permissions to access a particular resource (e.g configuration or folder ), each of the methods above will return ACCESSDENIED errors and produce the following error message:

"User X does not have sufficient permissions to access Y."

When a user obtains a list of configurations, configurationInfos or Folders it will NOT contain resources to which the user does not have access.

VERY IMPORTANT - If you disable security through the API with a call to IPermissionsAdmin.IsSecurityEnabled = false, you will have exposed all of your web services to the public internet and security will be defeated. Disable security at your own risk!

Product Availability

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

Specified by:
isSecurityEnabled in interface IServerObjectAdmin4
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsSecurityEnabled

public void setIsSecurityEnabled(boolean pVal)
                          throws IOException,
                                 AutomationException
Indicates whether security is switched on or off.

Product Availability

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

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