Configuring externalAuthProperties¶
The externalAuthProperties bean stores properties specific to Jaspersoft’s external authentication API. For CAS authentication, configure the externalAuthProperties bean to specify the following URLs for communication with the CAS server:
ssoServerLocationproperty — Specifies the HTTPS URL where tickets are validated on the CAS server.externalLoginUrlproperty — Specifies the login URL for external users. Can be set relative tossoServerLocation.logoutUrlproperty — Specifies the logout URL for external users. Can be set relative tossoServerLocation.
The following example shows how you might set these beans:
<bean id="externalAuthProperties" class="com.jaspersoft.jasperserver.api.security.
externalAuth.ExternalAuthProperties">
<property name="externalLoginUrl" value="#ssoServerLocation#/login"/>
<property name="logoutUrl" value="#ssoServerLocation#/logout"/>
<property name="ssoServerLocation" value="https://casserver:8443/cas"/>
</bean>