public class WeldSecurityServices extends Object implements org.jboss.msc.Service, org.jboss.weld.security.spi.SecurityServices
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
WeldSecurityServices(Consumer<org.jboss.weld.security.spi.SecurityServices> securityServicesConsumer,
Supplier<?> securityManagerSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
Principal |
getPrincipal() |
org.jboss.weld.security.spi.SecurityContext |
getSecurityContext() |
Consumer<Runnable> |
getSecurityContextAssociator() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
public Principal getPrincipal()
getPrincipal in interface org.jboss.weld.security.spi.SecurityServicespublic void cleanup()
cleanup in interface org.jboss.weld.bootstrap.api.Servicepublic org.jboss.weld.security.spi.SecurityContext getSecurityContext()
getSecurityContext in interface org.jboss.weld.security.spi.SecurityServicesCopyright © 2020 JBoss by Red Hat. All rights reserved.