Class WeldSecurityServices
- java.lang.Object
-
- org.jboss.as.weld.services.bootstrap.WeldSecurityServices
-
- All Implemented Interfaces:
org.jboss.msc.Service
,org.jboss.weld.bootstrap.api.Service
,org.jboss.weld.security.spi.SecurityServices
public class WeldSecurityServices extends Object implements org.jboss.msc.Service, org.jboss.weld.security.spi.SecurityServices
- Author:
- Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceName
SERVICE_NAME
-
Constructor Summary
Constructors Constructor Description WeldSecurityServices(Consumer<org.jboss.weld.security.spi.SecurityServices> securityServicesConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
Principal
getPrincipal()
Consumer<Runnable>
getSecurityContextAssociator()
void
start(org.jboss.msc.service.StartContext context)
void
stop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
WeldSecurityServices
public WeldSecurityServices(Consumer<org.jboss.weld.security.spi.SecurityServices> securityServicesConsumer)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
- Specified by:
start
in interfaceorg.jboss.msc.Service
- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stop
in interfaceorg.jboss.msc.Service
-
getPrincipal
public Principal getPrincipal()
- Specified by:
getPrincipal
in interfaceorg.jboss.weld.security.spi.SecurityServices
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceorg.jboss.weld.bootstrap.api.Service
-
-