Example usage for org.springframework.security.cas.authentication CasAuthenticationToken getDetails

List of usage examples for org.springframework.security.cas.authentication CasAuthenticationToken getDetails

Introduction

In this page you can find the example usage for org.springframework.security.cas.authentication CasAuthenticationToken getDetails.

Prototype

public Object getDetails() 

Source Link

Usage

From source file:com.vnomicscorp.spring.security.cas.authentication.redis.DefaultCasAuthenticationTokenSerializerTest.java

private void assertTokenEquals(CasAuthenticationToken expected, CasAuthenticationToken got) {
    assertEquals(expected.getName(), got.getName());
    assertEquals(expected.isAuthenticated(), got.isAuthenticated());
    assertEquals(expected.getAuthorities(), got.getAuthorities());
    assertEquals(expected.getCredentials(), got.getCredentials());
    assertEquals(expected.getDetails(), got.getDetails());
    assertEquals(expected.getKeyHash(), got.getKeyHash());
    assertEquals(expected.getPrincipal(), got.getPrincipal());
    assertEquals(expected.getUserDetails(), got.getUserDetails());
}