-
Notifications
You must be signed in to change notification settings - Fork 63
Security configuration ArcGIS
Marten edited this page Sep 10, 2024
·
4 revisions
This page describes how to configure Geoportal Server to use ArcGIS Online or Portal for ArcGIS for authentication.
2. Uncomment the following line in app-security.xml to use file authentication-arcgis.xml for authentication
<!-- <beans:import resource="authentication-arcgis.xml"/> -->
This section defines the server connection parameters
<beans:bean id="arcgisAuthenticationProvider" class="com.esri.geoportal.base.security.ArcGISAuthenticationProvider">
<beans:property name="appId" value="6iJ2pLIj9UwcSdfA"/>
<beans:property name="authorizeUrl" value="https://www.arcgis.com/sharing/rest/oauth2/authorize"/>
<beans:property name="createAccountUrl" value="https://www.arcgis.com/home/createaccount.html"/>
<beans:property name="expirationMinutes" value="120" />
<beans:property name="geoportalAdministratorsGroupId" value="" />
<beans:property name="geoportalPublishersGroupId" value="" />
<beans:property name="allUsersCanPublish" value="true" />
<beans:property name="rolePrefix" value="ROLE_" />
<beans:property name="showMyProfileLink" value="true" />
</beans:bean>
Parameter Name | Description |
---|---|
appId | Value is the appID of the geoportal application registered with Portal for ArcGIS or ArcGIS Online |
authorizeUrl | For ArcGIS Online, the value is https://www.arcgis.com/sharing/rest/oauth2/authorize, for Portal for ArcGIS, the value would be something like https://portalServerName/arcgis/sharing/rest/oauth2/authorize. |
createAccountUrl | For ArcGIS Online, the value is https://www.arcgis.com/home/createaccount.html, for Portal for ArcGIS, the value would be something like https://portalServerName/arcgis/home/createaccount.html. |
expirationMinutes | Duration for which the authentication will be valid, default is 120 minutes. |
geoportalAdministratorsGroupId | Group name in ArcGIS Online or Portal for ArcGIS for Geoportal administrative users. |
geoportalPublishersGroupId | Group name in ArcGIS Online or Portal for ArcGIS for Geoportal publishers. |
allUsersCanPublish | Whether all users can publish, default is "true". |
rolePrefix | Prefix of the role name, default is "ROLE_". |
showMyProfileLink | Whether to show the My Profile link in Geoportal, default is "true". |
This section defines settings for the authentication manager
<security:authentication-manager alias="authenticationManager">
<security:authentication-provider ref="arcgisAuthenticationProvider"/>
</security:authentication-manager>
Parameter Name | Description |
---|---|
alias | Alias for the authentication manager |
ref | It references /beans:beans/beans:bean/@id above. Default value: arcgisAuthenticationProvider |