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 Details

    • SERVICE_NAME

      public static final org.jboss.msc.service.ServiceName SERVICE_NAME
  • Constructor Details

    • WeldSecurityServices

      public WeldSecurityServices(Consumer<org.jboss.weld.security.spi.SecurityServices> securityServicesConsumer)
  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getPrincipal

      public Principal getPrincipal()
      Specified by:
      getPrincipal in interface org.jboss.weld.security.spi.SecurityServices
    • cleanup

      public void cleanup()
      Specified by:
      cleanup in interface org.jboss.weld.bootstrap.api.Service
    • getSecurityContextAssociator

      public Consumer<Runnable> getSecurityContextAssociator()
      Specified by:
      getSecurityContextAssociator in interface org.jboss.weld.security.spi.SecurityServices