public class ExampleAuth extends Object
| Constructor and Description |
|---|
ExampleAuth() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureJaxrsApplication() |
void |
contextResourceRealm() |
String |
getPrincipalName(javax.ws.rs.core.SecurityContext securityContext) |
public void configureJaxrsApplication()
public void contextResourceRealm()
@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.