21.7.5. ProfileService

To disable authentication for the ProfileService comment out the contents of the serverProxyInterceptors element in the $JBOSS_HOME/server/PROFILE/deploy/profileservice-jboss-beans.xml file as show in Example 21.12, “ProfileService AuthenticationInterceptor Commented out”.

Example 21.12. ProfileService AuthenticationInterceptor Commented out

<property name="serverProxyInterceptors">
<list>
<!--
comment this list to disable auth checks for the profileservice
-->
<!--
<bean class="org.jboss.aspects.security.AuthenticationInterceptor">
 <constructor>
   <parameter>
     <value-factory bean="JNDIBasedSecurityManagement" method="getAuthenticationManager" parameter="jmx-console"/>
   </parameter>
 </constructor>
</bean>
<bean class="org.jboss.aspects.security.RoleBasedAuthorizationInterceptor">
 <constructor>
   <parameter>
     <value-factory bean="JNDIBasedSecurityManagement" method="getAuthenticationManager" parameter="jmx-console"/>
   </parameter>
   <parameter>
     <value-factory bean="JNDIBasedSecurityManagement" method="getAuthenticationManager" parameter="jmx-console"/>
   </parameter>
</constructor>
</bean>
-->
</list>
</property>