Class JettyIdentityService

java.lang.Object
org.codice.ddf.pax.web.jetty.JettyIdentityService
All Implemented Interfaces:
org.eclipse.jetty.security.IdentityService

public class JettyIdentityService extends Object implements org.eclipse.jetty.security.IdentityService
  • Constructor Details

    • JettyIdentityService

      public JettyIdentityService()
  • Method Details

    • associate

      @Nullable public Object associate(@Nullable org.eclipse.jetty.server.UserIdentity user)
      Specified by:
      associate in interface org.eclipse.jetty.security.IdentityService
    • disassociate

      public void disassociate(Object previous)
      Specified by:
      disassociate in interface org.eclipse.jetty.security.IdentityService
    • setRunAs

      @Nullable public Object setRunAs(org.eclipse.jetty.server.UserIdentity user, org.eclipse.jetty.security.RunAsToken token)
      Specified by:
      setRunAs in interface org.eclipse.jetty.security.IdentityService
    • unsetRunAs

      public void unsetRunAs(Object token)
      Specified by:
      unsetRunAs in interface org.eclipse.jetty.security.IdentityService
    • newUserIdentity

      public org.eclipse.jetty.server.UserIdentity newUserIdentity(Subject subject, Principal userPrincipal, String[] roles)
      Specified by:
      newUserIdentity in interface org.eclipse.jetty.security.IdentityService
    • newRunAsToken

      @Nullable public org.eclipse.jetty.security.RunAsToken newRunAsToken(String runAsName)
      Specified by:
      newRunAsToken in interface org.eclipse.jetty.security.IdentityService
    • getSystemUserIdentity

      @Nullable public org.eclipse.jetty.server.UserIdentity getSystemUserIdentity()
      Specified by:
      getSystemUserIdentity in interface org.eclipse.jetty.security.IdentityService