UsernamePasswordToken.getPrincipal

Simply returns {@link #getUsername() getUsername()}.

@return the {@link #getUsername() username}. @see hunt.shiro.authc.AuthenticationToken#getPrincipal()

class UsernamePasswordToken
string
getPrincipal
()

Meta