Package org.apache.webbeans.web.jetty9
Class JettySecurityService
- java.lang.Object
-
- org.apache.webbeans.corespi.security.SimpleSecurityService
-
- org.apache.webbeans.web.jetty9.JettySecurityService
-
- All Implemented Interfaces:
org.apache.webbeans.spi.SecurityService
public class JettySecurityService extends org.apache.webbeans.corespi.security.SimpleSecurityServiceFilter which sets the UserPrincipal into a ThreadLocal to make it injectable via a CDI Producer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJettySecurityService.Unwrap
-
Constructor Summary
Constructors Constructor Description JettySecurityService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalgetCurrentPrincipal()-
Methods inherited from class org.apache.webbeans.corespi.security.SimpleSecurityService
doPrivilegedGetConstructor, doPrivilegedGetDeclaredConstructor, doPrivilegedGetDeclaredConstructors, doPrivilegedGetDeclaredField, doPrivilegedGetDeclaredFields, doPrivilegedGetDeclaredMethod, doPrivilegedGetDeclaredMethods, doPrivilegedGetSystemProperties, doPrivilegedGetSystemProperty, doPrivilegedIsAccessible, doPrivilegedObjectCreate, doPrivilegedSetAccessible, doPrivilegedSetSystemProperty
-
-
-
-
Method Detail
-
getCurrentPrincipal
public Principal getCurrentPrincipal()
- Specified by:
getCurrentPrincipalin interfaceorg.apache.webbeans.spi.SecurityService- Overrides:
getCurrentPrincipalin classorg.apache.webbeans.corespi.security.SimpleSecurityService
-
-