public class FakeClientIdentification extends ClientIdentification
| Constructor and Description |
|---|
FakeClientIdentification(String principal,
Set<String> validUserRoles) |
FakeClientIdentification(String principal,
String... validUserRoles) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrincipal() |
boolean |
isUserInRole(String role) |
toJsongetFactory, getSourceNode, toStringpublic FakeClientIdentification(String principal, String... validUserRoles)
public String getPrincipal()
getPrincipal in class ClientIdentificationpublic boolean isUserInRole(String role)
isUserInRole in class ClientIdentificationCopyright © 2015. All rights reserved.