How to setup basic authentication in Websphere 8.5 console?
I've setup BASIC authentication on Tomcat.
My WEB.XML looks like this -
<security-constraint>
<web-resource-collection>
<web-resource-name>My Manager</web-resource-name>
<url-pattern>/rest/LoginToPropManager</url-pattern>
<http-method>GET</http-method>
</web-resource-collection>
<auth-constraint>
<description>Let only Administrator login</description>
<role-name>propertymanageradmin</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>propertymanageradmin</role-name>
</security-role>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Admin</realm-name>
</login-config>
In Tomcat, I've the following configuration -
<role rolename="propertymanageradmin"/>
<user username="admin1234" password="XXXX" roles="propertymanageradmin"/>
I am now trying to setup this on Websphere 8.5 and it is too confusing with a lot of screens. I do not find good articles on this. Can anyone please help?