1 Reply Latest reply on Dec 31, 2011 9:21 AM by Wolf-Dieter Fink

    How to avoid to use @SecurityDomain on EJB

    hantsy bai Master

      I found the JAAS annotations(such as @RolesAllowed etc) did not work if I did not apply the @SecurityDomain annotation on EJB class.

      But it is not a standard API, and it can not be used in other Application server.

       

      I do not want to use it.

       

      Is there is some solution to remove the @SecurityDomain annotation, and make it work as the standard way.

       

      Thanks.