B
bronco
Guest
I have an IhybridRealm implementation as below. AT first everything is OK, the user is autheticated, all the attributes get their correct value. Everybody happy. But when I add OERealm.UserDetails.propertiesAttrName=test2 The user is no longer authenticated. I get 403's. This seems a bug to me. OE 11.7.2 on linux. class auth.PasoeAuth implements IHybridRealm: method public character GetAttribute(cUserid as integer, attrName as character): define variable attrValue as character no-undo. case attrName: when 'ATTR_ROLES' then attrValue = 'PSCUser'. when 'ATTR_ENABLED' then attrValue = 'T'. when 'ATTR_LOCKED' then attrValue = 'F'. when 'ATTR_EXPIRED' then attrValue = 'F'. when 'test2' then attrValue = 'hatsekidee!'. end case. message attrName '=' attrValue. return attrValue. end method. /* ... */ end class.
Continue reading...
Continue reading...