throw new CredentialsNotSetException(event, event.getSession().getSecurityContext(), this);
}
Credentials user = new MuleCredentials(userHeader, getSecurityManager());
Authentication authResult;
JaasAuthentication authentication = new JaasAuthentication(user);
authentication.setEvent(event);
try
{
authResult = getSecurityManager().authenticate(authentication);
}
catch (SecurityException se)