Role « security « Java Enterprise Q&A





1. Retrieve list of defined roles in java ee 5    stackoverflow.com

I was wondering if it would be possible to retrieve the complete list of security roles defined in a web.xml file in the java code? And if so how to do ...

2. How do I access JAAS roles at arbitrary point in the code?    stackoverflow.com

I want to access the full model of users with their roles in my SOAP app. For example, I might want to know the role of a user called "Fred." How ...

3. Websphere 6.1 ejb3 authenticating user and mapping to role    stackoverflow.com

I'm upgrading an application from an old ejb2 setup to use ejb3's using the ejb3 feature pack on websphere 6.1 I've got a ServletContextListener which does some initialisation when the servlet context ...

4. JEE Role Management systems - do they exist?    stackoverflow.com

I'm looking at creating a decentralised role-management system which integrates with JEE roles. Does anything like this exist? Example use cases: System A is a limited-access system which uses corporate roles. John joins ...

5. How to set J2EE security roles    stackoverflow.com

I'm working on a filter to be put in front of a Java application. This filter already is responsible for setting the user name in the remote user variable (in order ...

6. how to bypass through j2ee security roles    stackoverflow.com

Here is the example code from my web.xml

<security-constraint>
    <display-name>
    change password</display-name>
    <web-resource-collection>
        <web-resource-name>change password</web-resource-name>
  ...

7. WebLogic: can't get roles for user in EJB3    stackoverflow.com

In my EJB 3 I try to test for the roles of the principal but it always returns false. In my WebLogic 11g Console I defined under "MyDomain" -> "Security Realms" -> ...

8. Mapping security role to user/group mapping in RAD    stackoverflow.com

I am using a WebSphere Portal Server that runs some servlets as well. Previously, while I was using eclipse to develop I used this solution to add roles in my ...

9. ejb Security questions regarding Roles and Authentication    stackoverflow.com

I'd be very grateful is someone could assist me with the following questions:

  1. What are the differences between @RolesAllowed and @DeclareRoles annotations?
  2. I developed a login function to check username and password against ...





10. Security role to user/group mapping in WebSphere 7 with file-based user registry    stackoverflow.com

I am trying to make a form-based authentication. I configured my deployment descriptor correctly, did all the actions listed in IBM Infocenter related to "enabling user authentication using file-based registry only", mapped ...

12. how to bypass j2ee security roles    coderanch.com

Here is the example code from my web.xml change password change password /ResetPassword.html GET POST Roles which can access this page Admin CONFIDENTIAL Only user having role "Admin" can access "ResetPassword.html" page. There is an API that lets us to test whether current user has access to a specific role or not. ...