You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Aaron Evans <aa...@gmail.com> on 2006/05/24 15:25:00 UTC
Error Setting up SSO principal
Hey guys,
I started playing around with the jetspeed SSO stuff today.
After setting up an SSO site, I tried to setup an SSO principal for a
portal user. However, when I click 'add', I get the following error:
Could not add credentials: org.apache.jetspeed.sso.SSOException: Could
not add Principal from SITE mapping table.
I *strongly* suspect that this has to do with the fact that I am using
my own custom SPI implementations for authentication and
authorization. Can anyone tell me if this is the case? If so, I
would think that there is some kind of dependency/assumption here that
shouldn't be and this is a bug of sorts, since I should be able to
swap out the atn and atz pieces without affecting other parts of
jetspeed.
I looked at some the of the SSO code and it looks like the error is
being thrown from the addCredentialsForSite method of the
PersistenceBrokerSSOProvider class. It looks like it is thrown
because the 'principal' is null after this code executes:
SSOPrincipal principal =
this.getPrincipalForSite(ssoSite, fullPath);
if (principal == null )
{
principal = getSSOPrincipal(fullPath);
ssoSite.addPrincipal(principal);
}
...
if (principal == null)
throw new SSOException(SSOException.FAILED_ADDING_PRINCIPAL_TO_MAPPING_TABLE_FOR_SITE);
I'm on Jetspeed 2.0.
thx in advance...
aaron
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org