- // Authorization sharedAuth = (Authorization)
- // sharedState.get(CmsAuthUtils.SHARED_STATE_AUTHORIZATION);
- // if (sharedAuth != null) {
- // if (callbackHandler == null && sharedAuth.getName() != null)
- // throw new LoginException("Shared authorization should be anonymous");
- // return false;
- // }