getPrincipal abstract method

Principal getPrincipal()

Get the principal represented by this identity. Normally should be a Principal.selfAuthenticating().

Implementation

Principal getPrincipal();