org.jbpm.identity.security
Interface IdentityService
- All Known Implementing Classes:
- IdentitySession
public interface IdentityService
decouples the IdentityLoginModule from the underlying medium that stores the users, groups, memberships and permissions.
verify
Object verify(String userName,
String pwd)
- verifies if the userName matches the password and
in case of success, returns the userId. the userId can be
an implementation specific id.
- Returns:
- userId if verification succeeded or null otherwise.
getUserById
User getUserById(Object userId)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.