private int getPrincipalType ( String principalString ) { return Integer . parseInt ( principalString . substring ( 0 , principalString . indexOf ( PRINCIPAL_SEPARATOR ) ) ) ; }
Returns the principal type portion of the principal .