List of usage examples for org.springframework.security.web.authentication.www DigestAuthenticationEntryPoint getKey
public String getKey()
From source file:org.springframework.security.web.authentication.www.DigestAuthenticationEntryPointTests.java
@Test public void testGettersSetters() { DigestAuthenticationEntryPoint ep = new DigestAuthenticationEntryPoint(); assertThat(ep.getNonceValiditySeconds()).isEqualTo(300); // 5 mins default ep.setRealmName("realm"); assertThat(ep.getRealmName()).isEqualTo("realm"); ep.setKey("dcdc"); assertThat(ep.getKey()).isEqualTo("dcdc"); ep.setNonceValiditySeconds(12);//from w w w . j ava 2s .c o m assertThat(ep.getNonceValiditySeconds()).isEqualTo(12); }