/** * Returns the {@link Authentication} in current request. */ public static Authentication authentication() { return current().authentication; }
/** * Returns the {@link UserPrincipal} in current request. */ public static UserPrincipal user() { return current().getUser(); }
/** * Returns the {@link Authorization} in current request. */ public static Authorization authorization() { return current().getAuthorization(); }