| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationScheme() |
String |
getClientDN() |
long |
getLastAccessed() |
String |
getName() |
int |
getNodeId() |
Principal |
getUserPrincipal() |
boolean |
isAdmin() |
static boolean |
isAdminDN(String clientDn) |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
void |
updateLastAccessed() |
public Principal(int nodeId,
String clientDn)
public String getClientDN()
public int getNodeId()
public Principal getUserPrincipal()
getUserPrincipal in interface javax.ws.rs.core.SecurityContextpublic boolean isUserInRole(String role)
isUserInRole in interface javax.ws.rs.core.SecurityContextpublic boolean isSecure()
isSecure in interface javax.ws.rs.core.SecurityContextpublic String getAuthenticationScheme()
getAuthenticationScheme in interface javax.ws.rs.core.SecurityContextpublic boolean isAdmin()
public static final boolean isAdminDN(String clientDn)
public void updateLastAccessed()
public long getLastAccessed()
Copyright © 2014–2019 Uniklinik RWTH Aachen. All rights reserved.