throws SecurityTokenException {
// FIXME: This is so gross that I have to do this. Shindig needs to be fixed so I can
// consistently get the container from tokenParameters.
String token = tokenParameters.get(SecurityTokenCodec.SECURITY_TOKEN_NAME);
if (token == null || token.length() == 0) {
return new AnonymousSecurityToken();
}
String[] tokenParts = token.split(":");
String container;
if (tokenParts.length == 2) {