|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.server.IServerObjectAdminProxy com.esri.arcgis.server.IServerObjectAdmin2Proxy com.esri.arcgis.server.IServerObjectAdmin3Proxy com.esri.arcgis.server.IServerObjectAdmin4Proxy
public class IServerObjectAdmin4Proxy
Provides access to members that administer the ArcGIS server.
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.
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.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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IServerObjectAdmin4Proxy()
public IServerObjectAdmin4Proxy(Object obj) throws IOException
IOException
protected IServerObjectAdmin4Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IServerObjectAdmin3Proxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IServerObjectAdmin3Proxy
IOException
public boolean isSecurityEnabled() throws IOException, AutomationException
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!
isSecurityEnabled
in interface IServerObjectAdmin4
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsSecurityEnabled(boolean pVal) throws IOException, AutomationException
setIsSecurityEnabled
in interface IServerObjectAdmin4
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |