com.holonplatform.jaxrs.examples

## Class ExampleAuth

- java.lang.Object
- - com.holonplatform.jaxrs.examples.ExampleAuth

-     public class ExampleAuth
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExampleAuth()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configureJaxrsApplication()`
    `void` | `contextResourceRealm()`
    `String` | `getPrincipalName(javax.ws.rs.core.SecurityContext securityContext)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ExampleAuth

          public ExampleAuth()

  - ### Method Detail

    - #### configureJaxrsApplication

          public void configureJaxrsApplication()

    - #### contextResourceRealm

          public void contextResourceRealm()

    - #### getPrincipalName

          @Authenticate
           @GET
           @Path(value="name")
           @Produces(value="text/plain")
          public String getPrincipalName(@Context
                                                                                                                     javax.ws.rs.core.SecurityContext securityContext)

Copyright © 2019 The Holon Platform. All rights reserved.