1. Entries in weblogic.xml
<wls:security-role-assignment>
<wls:role-name>AUTHENTICATED_USER</wls:role-name>
<wls:principal-name>ApplicationUser</wls:principal-name>
</wls:security-role-assignment>
<wls:security-role-assignment>
<wls:role-name>Deployers</wls:role-name>
<wls:principal-name>Deployers</wls:principal-name>
</wls:security-role-assignment>
<wls:security-role-assignment>
<wls:role-name>WORKFLOW_AUTHENTICATED_USER</wls:role-name>
<wls:principal-name>WORKFLOW_AUTHENTICATED_USER</wls:principal-name>
</wls:security-role-assignment>
2. Entries in Web.xml
<security-role>
<role-name>AUTHENTICATED_USER</role-name>
</security-role>
<security-role>
<role-name>Deployers</role-name>
</security-role>
<security-role>
<role-name>WORKFLOW_AUTHENTICATED_USER</role-name>
</security-role>
3. <%if(request.isUserInRole("ROLE_WORKFLOW_AUTHENTICATED_USER")){%> WORKFLOW_AUTHENTICATED_USER <%} %>
<wls:security-role-assignment>
<wls:role-name>AUTHENTICATED_USER</wls:role-name>
<wls:principal-name>ApplicationUser</wls:principal-name>
</wls:security-role-assignment>
<wls:security-role-assignment>
<wls:role-name>Deployers</wls:role-name>
<wls:principal-name>Deployers</wls:principal-name>
</wls:security-role-assignment>
<wls:security-role-assignment>
<wls:role-name>WORKFLOW_AUTHENTICATED_USER</wls:role-name>
<wls:principal-name>WORKFLOW_AUTHENTICATED_USER</wls:principal-name>
</wls:security-role-assignment>
2. Entries in Web.xml
<security-role>
<role-name>AUTHENTICATED_USER</role-name>
</security-role>
<security-role>
<role-name>Deployers</role-name>
</security-role>
<security-role>
<role-name>WORKFLOW_AUTHENTICATED_USER</role-name>
</security-role>
3. <%if(request.isUserInRole("ROLE_WORKFLOW_AUTHENTICATED_USER")){%> WORKFLOW_AUTHENTICATED_USER <%} %>
No comments:
Post a Comment