站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.1.3 identity management component 英文版文档

IdentityService (jbpm-identity-3.1.3) - JBoss JBPM 3.1.3 identity management component 英文版文档


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.


Method Summary
 User getUserById(java.lang.Object userId)
           
 java.lang.Object verify(java.lang.String userName, java.lang.String pwd)
          verifies if the userName matches the password and in case of success, returns the userId.
 

Method Detail

verify

java.lang.Object verify(java.lang.String userName,
                        java.lang.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(java.lang.Object userId)


Version : jbpm-identity-3.1.3