protected String determineIdentity ( final OpenIdService service , final Assertion assertion ) { if ( assertion != null && OpenIdProtocolConstants . OPENID_IDENTIFIERSELECT . equals ( service . getIdentity ( ) ) ) { return this . openIdPrefixUrl + ' ' + assertion . getPrimaryAuthentication ( ) . getPrincipal ( ) . getId ( ) ; } return service . getIdentity ( ) ; }
Determine identity .