Show Table of Contents
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>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.