@Test public void constructor_test() { Resource resource = new ClassPathResource("com/webauthn4j/springframework/security/anchor/KeyStoreResourceTrustAnchorProviderImplTest/test.jks"); KeyStoreResourceTrustAnchorProvider target = new KeyStoreResourceTrustAnchorProvider(resource); target.setPassword("password"); Map<AAGUID, Set<TrustAnchor>> trustAnchors = target.provide(); assertThat(trustAnchors).isNotEmpty(); }
public void setPassword(String password) { this.password = password; }
KeyStoreResourceTrustAnchorProvider extends CachingTrustAnchorsProviderBase implements InitializingBean { public void setPassword(String password) { this.password = password; } }
KeyStoreResourceTrustAnchorProvider extends CachingTrustAnchorsProviderBase implements InitializingBean { public void setPassword(String password) { this.password = password; } KeyStoreResourceTrustAnchorProvider();  KeyStoreResourceTrustAnchorProvider(Resource keyStore); }
KeyStoreResourceTrustAnchorProvider extends CachingTrustAnchorsProviderBase implements InitializingBean { public void setPassword(String password) { this.password = password; } KeyStoreResourceTrustAnchorProvider();  KeyStoreResourceTrustAnchorProvider(Resource keyStore); @Override void afterPropertiesSet(); Resource getKeyStore(); void setKeyStore(Resource keyStore); String getPassword(); void setPassword(String password); }
KeyStoreResourceTrustAnchorProvider extends CachingTrustAnchorsProviderBase implements InitializingBean { public void setPassword(String password) { this.password = password; } KeyStoreResourceTrustAnchorProvider();  KeyStoreResourceTrustAnchorProvider(Resource keyStore); @Override void afterPropertiesSet(); Resource getKeyStore(); void setKeyStore(Resource keyStore); String getPassword(); void setPassword(String password);  }