This content has been marked as final.
Show 2 replies
-
1. Re: how can i use Identity
kukeltje Jul 31, 2007 4:11 AM (in response to galvino)I need more info to comment...
-
2. Re: how can i use Identity
galvino Jul 31, 2007 4:30 AM (in response to galvino)i created my database and I load my identity with this metho:
public void loadIdentities() { JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); try { Entity[] entities = IdentityXmlParser .parseEntitiesResource("identity.db.xml"); IdentitySession identitySession = new IdentitySession(jbpmContext .getSession()); assertNotNull(identitySession); for (int i = 0; i < entities.length; i++) { identitySession.saveEntity(entities); } } finally { jbpmContext.close(); } }
now, on an web application i want to create a login page that verify, login and password by using identities loaded