@Test void testNullPrincipal() { final SecurityContext ctx = new WebIdSecurityContext(null, null, emptySet()); assertNull(ctx.getUserPrincipal()); }
@Override public Principal getUserPrincipal() { return principal; }
WebIdSecurityContext implements SecurityContext { @Override public Principal getUserPrincipal() { return principal; } }
WebIdSecurityContext implements SecurityContext { @Override public Principal getUserPrincipal() { return principal; } WebIdSecurityContext(final SecurityContext delegate, final JsonWebToken principal,
            final Set<String> admins); }
WebIdSecurityContext implements SecurityContext { @Override public Principal getUserPrincipal() { return principal; } WebIdSecurityContext(final SecurityContext delegate, final JsonWebToken principal,
            final Set<String> admins); @Override Principal getUserPrincipal(); @Override boolean isSecure(); @Override String getAuthenticationScheme(); @Override boolean isUserInRole(final String role); }
WebIdSecurityContext implements SecurityContext { @Override public Principal getUserPrincipal() { return principal; } WebIdSecurityContext(final SecurityContext delegate, final JsonWebToken principal,
            final Set<String> admins); @Override Principal getUserPrincipal(); @Override boolean isSecure(); @Override String getAuthenticationScheme(); @Override boolean isUserInRole(final String role);  }