Class TestAuthenticator

java.lang.Object
org.apache.camel.quarkus.component.http.netty.auth.TestAuthenticator
All Implemented Interfaces:
org.apache.camel.component.netty.http.SecurityAuthenticator

public class TestAuthenticator extends Object implements org.apache.camel.component.netty.http.SecurityAuthenticator
  • Constructor Details

    • TestAuthenticator

      public TestAuthenticator()
  • Method Details

    • setName

      public void setName(String name)
      Specified by:
      setName in interface org.apache.camel.component.netty.http.SecurityAuthenticator
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.camel.component.netty.http.SecurityAuthenticator
    • setRoleClassNames

      public void setRoleClassNames(String names)
      Specified by:
      setRoleClassNames in interface org.apache.camel.component.netty.http.SecurityAuthenticator
    • login

      public Subject login(org.apache.camel.component.netty.http.HttpPrincipal principal) throws LoginException
      Specified by:
      login in interface org.apache.camel.component.netty.http.SecurityAuthenticator
      Throws:
      LoginException
    • logout

      public void logout(Subject subject) throws LoginException
      Specified by:
      logout in interface org.apache.camel.component.netty.http.SecurityAuthenticator
      Throws:
      LoginException
    • getUserRoles

      public String getUserRoles(Subject subject)
      Specified by:
      getUserRoles in interface org.apache.camel.component.netty.http.SecurityAuthenticator