code: @Override
      public IAuthorizationPrincipal getCurrentPrincipal(final ExternalContext externalContext) {
          final IPerson person = getCurrentPerson(externalContext);
          final EntityIdentifier ei = person.getEntityIdentifier();
          return AuthorizationServiceFacade.instance().newPrincipal(ei.getKey(), ei.getType());
      }
docs: /* (non-Javadoc)
  @see org.apereo.portal.spring.web.flow.IPortalWebFlowUtils#getCurrentPrincipal(org.springframework.webflow.context.ExternalContext)