@Test public void testGettersAndSetters() { realm.getAuthenticationTokenClass(); assertEquals("src/test/resources/tls/server/granted_certs.jks", realm.getGrantedKeyStoreName()); assertEquals("azerty12", realm.getGrantedKeyStorePassphrase()); assertEquals("src/test/resources/tls/server/truststore.jks", realm.getTrustedKeyStoreName()); assertEquals("azerty10", realm.getTrustedKeyStorePassphrase()); }
@Override public Class<X509AuthenticationToken> getAuthenticationTokenClass() { return X509AuthenticationToken.class; }
X509KeystoreFileRealm extends AbstractX509Realm { @Override public Class<X509AuthenticationToken> getAuthenticationTokenClass() { return X509AuthenticationToken.class; } }
X509KeystoreFileRealm extends AbstractX509Realm { @Override public Class<X509AuthenticationToken> getAuthenticationTokenClass() { return X509AuthenticationToken.class; } X509KeystoreFileRealm(); }
X509KeystoreFileRealm extends AbstractX509Realm { @Override public Class<X509AuthenticationToken> getAuthenticationTokenClass() { return X509AuthenticationToken.class; } X509KeystoreFileRealm(); @Override boolean supports(AuthenticationToken token); @Override Class<X509AuthenticationToken> getAuthenticationTokenClass(); Map<String, String> getCertificateDnRoleMapping(); void setCertificateDnRoleMapping(Map<String, String> certificateDnRoleMapping); }
X509KeystoreFileRealm extends AbstractX509Realm { @Override public Class<X509AuthenticationToken> getAuthenticationTokenClass() { return X509AuthenticationToken.class; } X509KeystoreFileRealm(); @Override boolean supports(AuthenticationToken token); @Override Class<X509AuthenticationToken> getAuthenticationTokenClass(); Map<String, String> getCertificateDnRoleMapping(); void setCertificateDnRoleMapping(Map<String, String> certificateDnRoleMapping);  }