Class NoopSecurityServices

java.lang.Object
org.jboss.weld.security.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 Details

    • INSTANCE

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

    • 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