Class ShiroResource

java.lang.Object
org.apache.camel.quarkus.component.shiro.it.ShiroResource

@Path("/shiro") @ApplicationScoped public class ShiroResource extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) org.apache.camel.CamelContext
     
    static byte[]
     
    (package private) org.apache.camel.ProducerTemplate
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    base64(org.apache.camel.component.shiro.security.ShiroSecurityToken shiroSecurityToken, boolean expectSuccess, String path)
     
    void
    headers(org.apache.camel.component.shiro.security.ShiroSecurityToken shiroSecurityToken, boolean expectSuccess, String path)
     
    void
    token(org.apache.camel.component.shiro.security.ShiroSecurityToken shiroSecurityToken, boolean expectSuccess, String path)
     
    void
    verifyMock(String path, boolean expectSuccess, org.apache.camel.Processor processor)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • passPhrase

      public static byte[] passPhrase
    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
    • context

      @Inject org.apache.camel.CamelContext context
  • Constructor Details

    • ShiroResource

      public ShiroResource()
  • Method Details

    • headers

      @Path("/headers") @POST @Consumes("application/json") public void headers(org.apache.camel.component.shiro.security.ShiroSecurityToken shiroSecurityToken, @QueryParam("expectSuccess") boolean expectSuccess, @QueryParam("path") String path) throws Exception
      Throws:
      Exception
    • token

      @Path("/token") @POST @Consumes("application/json") public void token(org.apache.camel.component.shiro.security.ShiroSecurityToken shiroSecurityToken, @QueryParam("expectSuccess") boolean expectSuccess, @QueryParam("path") String path) throws Exception
      Throws:
      Exception
    • base64

      @Path("/base64") @POST @Consumes("application/json") public void base64(org.apache.camel.component.shiro.security.ShiroSecurityToken shiroSecurityToken, @QueryParam("expectSuccess") boolean expectSuccess, @QueryParam("path") String path) throws Exception
      Throws:
      Exception
    • verifyMock

      public void verifyMock(String path, boolean expectSuccess, org.apache.camel.Processor processor) throws Exception
      Throws:
      Exception