Class JettySecurityService

  • All Implemented Interfaces:
    org.apache.webbeans.spi.SecurityService

    public class JettySecurityService
    extends org.apache.webbeans.corespi.security.SimpleSecurityService
    Filter which sets the UserPrincipal into a ThreadLocal to make it injectable via a CDI Producer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Principal getCurrentPrincipal()  
      • Methods inherited from class org.apache.webbeans.corespi.security.SimpleSecurityService

        doPrivilegedGetConstructor, doPrivilegedGetDeclaredConstructor, doPrivilegedGetDeclaredConstructors, doPrivilegedGetDeclaredField, doPrivilegedGetDeclaredFields, doPrivilegedGetDeclaredMethod, doPrivilegedGetDeclaredMethods, doPrivilegedGetSystemProperties, doPrivilegedGetSystemProperty, doPrivilegedIsAccessible, doPrivilegedObjectCreate, doPrivilegedSetAccessible, doPrivilegedSetSystemProperty
    • Constructor Detail

      • JettySecurityService

        public JettySecurityService()
    • Method Detail

      • getCurrentPrincipal

        public Principal getCurrentPrincipal()
        Specified by:
        getCurrentPrincipal in interface org.apache.webbeans.spi.SecurityService
        Overrides:
        getCurrentPrincipal in class org.apache.webbeans.corespi.security.SimpleSecurityService