Class NoopSecurityServices

  • All Implemented Interfaces:
    org.jboss.weld.bootstrap.api.Service, org.jboss.weld.security.spi.SecurityServices

    public class NoopSecurityServices
    extends Object
    implements org.jboss.weld.security.spi.SecurityServices
    Fallback SecurityServices implementation that only used in the integrator does not provide one. This implementation does not propagate security context.
    Author:
    Jozef Hartinger
    • Field Detail

      • INSTANCE

        public static final org.jboss.weld.security.spi.SecurityServices INSTANCE
    • Method Detail

      • 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