title: Methods on Authentication object in Spring security
body: <p>How am I supposed to know what <code>getDetails()</code>, <code>getPrincipal()</code> etc returns on <code>SecurityContextHolder.getContext().getAuthentication()</code>? The type is object and I can't make sense of whats written in the documentation.</p>