protected Principal getPrincipal ( ) { final Object principal = requestContext . getProperty ( "Principal" ) ; if ( principal != null ) { return ( Principal ) principal ; } else { return null ; } }
Returns the principal for who initiated the request .