Hi Andreas
[ ... ]
> @@ -193,16 +200,17 @@
> }
> identity.removeIdentifiable(oldUser);
> }
> - identity.addIdentifiable(new TransientUserReference(user));
> + identity.addIdentifiable(new ShibbolethUserReference(user));
> if (getLogger().isDebugEnabled()) {
> getLogger().debug("Adding user [" + user + "] to identity.");
> }
> }
>
Do you think it make sense to pass the type of UserReference
(TransientUserReference, ShibbolsethUserRefernce, ....) as a parameter
to the updateIdentity method?
The reason is ask is: I extended the ShibbolethAuthenticator class
adding a authenticateLdapUser method in order to authenticate ldap user
which are not defnied in the cms. Within this method I also use the
updateidenty method of the super class.
However In the ldap case i don't need to add a ShibbolethUserReference
but a TransientUserReference to the identity.
Jann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]