You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by qMax <qm...@mediasoft.ru> on 2005/04/14 00:58:43 UTC

cannot get authentication to work

i have:
public class LDAPUser
  extends AbstractItem
  implements LDAPItem, User, Groupable, Identifiable, Accreditable;

actually it implements only:
User.authenticate()
User.getGroups()
Accreditable.getAccreditables()

now i see have in log:
http8080-Processor4/UserAuthenticator: User [vasilmax] authenticated
http8080-Processor4/UserAuthenticator: Authenticated Identity:
[identity: org.apache.lenya.ac.World@5e9db7 admins users vasilmax 192.168.1.24]
/* here is complete set of correctly found identifiables: 2 groups, user, IP, world */
http8080-Processor3/PublicationAccessControllerResolver:  Using first URL step (might be publication ID) as cache key: [main]
http8080-Processor3/AbstractAccessControllerResolver:  Access controller cache key: [file:/home/LAMED/_main]
http8080-Processor3/AbstractAccessControllerResolver:  Getting access controller from cache.
http8080-Processor3/LDAPItemManager: searching in ou=people: vasilmax
http8080-Processor3/LDAPItemManager: found: uid=vasilmax
http8080-Processor3/DefaultAccessController: Remote Address to use: [192.168.1.24]
http8080-Processor3/BypassableAccessController: Trying pattern: [org.apache.regexp.REProgram@76458f] with URL [/main/admin/index.html]
http8080-Processor3/DefaultAccessController: =========================================================
http8080-Processor3/DefaultAccessController: Beginning authorization.
http8080-Processor3/DefaultAccessController: ---------------------------------------------------------
http8080-Processor3/DefaultAccessController: Invoking authorizer [org.apache.lenya.ac.impl.PolicyAuthorizer@121f653]
http8080-Processor3/PolicyAuthorizer: Trying to authorize identity:
[identity: org.apache.lenya.ac.World@5e9db7 192.168.1.24]
/* here identity lost all groups and users, only world and ip left. */

i could not find where could it happen...
UserAuthenticator.authenticate() adds authenticated user into identity with
Identity.addIdentifiable(user)
but when it

-- 
 qMax


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org