public abstract class ClientIdentification extends JsonObject
Constructor and Description |
---|
ClientIdentification() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getPrincipal()
Get the principal identifying the client.
|
abstract boolean |
isUserInRole(String role)
Return the roles the caller is in.
|
com.fasterxml.jackson.databind.JsonNode |
toJson()
Default implementation of toJson() returns an empty object node
|
getFactory, getSourceNode, toString
public abstract String getPrincipal()
public abstract boolean isUserInRole(String role)
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson
in class JsonObject
Copyright © 2014. All rights reserved.