JBossSingleSignOnEntry sso = localLookup(ssoId);
// If we don't have one locally and there is a cluster,
// query the cluster for the SSO
if (sso == null && ssoClusterManager != null)
{
SSOCredentials credentials = ssoClusterManager.lookup(ssoId);
if (credentials != null)
{
sso = new JBossSingleSignOnEntry(null, credentials.getAuthType(),
credentials.getUsername(),
credentials.getPassword());
// Store it locally
synchronized (cache)
{
cache.put(ssoId, sso);
}