Class 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 Detail

      • SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
    • 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 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