Author: anil.saldhana(a)jboss.com
Date: 2008-07-10 13:48:55 -0400 (Thu, 10 Jul 2008)
New Revision: 17
Modified:
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/IdentityManager.java
Log:
JBID-6: session api
Modified:
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/IdentityManager.java
===================================================================
---
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/IdentityManager.java 2008-07-10
17:48:31 UTC (rev 16)
+++
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/IdentityManager.java 2008-07-10
17:48:55 UTC (rev 17)
@@ -23,6 +23,7 @@
import java.io.InputStream;
+import org.jboss.identity.api.session.Session;
import org.jboss.identity.model.Identity;
import org.jboss.identity.model.Role;
import org.jboss.identity.model.RoleType;
@@ -55,6 +56,14 @@
Realm bootstrap(String realmName, InputStream config);
/**
+ * Create a Session
+ * @param sessionType
+ * @param identityName
+ * @return
+ */
+ Session createSession(String sessionType, String identityName);
+
+ /**
* <p>Return a realm</p>
* @param realmName
* @param shouldBootstrap Should we bootstrap if a realm does not exist?
Show replies by date