|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Session org.apache.wicket.protocol.http.WebSession ontopoly.OntopolySession
public class OntopolySession
Nested Class Summary | |
---|---|
static class |
OntopolySession.OntopolyAuthorizationStrategy
|
Nested classes/interfaces inherited from class org.apache.wicket.Session |
---|
org.apache.wicket.Session.IPageMapVisitor, org.apache.wicket.Session.PageMapAccessMetaData |
Field Summary |
---|
Fields inherited from class org.apache.wicket.Session |
---|
PAGEMAP_ACCESS_MDK, SESSION_ATTRIBUTE_NAME |
Constructor Summary | |
---|---|
protected |
OntopolySession(org.apache.wicket.Request request,
org.apache.wicket.Response response,
OntopolyApplication ontopolyApplication)
|
Method Summary | |
---|---|
boolean |
authenticate(java.lang.String username,
java.lang.String password)
Authenticates a user given the username and password. |
org.apache.wicket.authorization.IAuthorizationStrategy |
getAuthorizationStrategy()
|
java.lang.String |
getLockerId(org.apache.wicket.Request request)
|
protected java.lang.String |
getLockKey(Topic topic)
|
OntopolyAccessStrategy.Privilege |
getPrivilege(FieldInstance fieldInstance)
|
OntopolyAccessStrategy.Privilege |
getPrivilege(Topic topic)
|
java.lang.String |
getSignInMessage()
|
protected User |
getUser()
|
java.lang.String |
getUserName()
|
boolean |
isAccessStrategyEnabled()
|
boolean |
isAdministrationEnabled()
|
boolean |
isAnnotationEnabled()
|
boolean |
isAuthenticated()
|
boolean |
isAutoLogin()
|
boolean |
isShortcutsEnabled()
|
LockManager.Lock |
lock(Topic topic,
java.lang.String lockerId)
|
void |
setAdministrationEnabled(boolean administrationEnabled)
|
void |
setAnnotationEnabled(boolean annotationEnabled)
|
void |
setShortcutsEnabled(boolean shortcutsEnabled)
|
protected void |
setUser(User user)
|
Methods inherited from class org.apache.wicket.protocol.http.WebSession |
---|
cleanupComponentFeedbackMessages, cleanupFeedbackMessages, isCurrentRequestValid |
Methods inherited from class org.apache.wicket.Session |
---|
attach, bind, clear, createAutoPageMap, createAutoPageMapName, currentCreateAutoPageMapCounter, detach, dirty, error, exists, findOrCreate, findOrCreate, get, getApplication, getAttribute, getAttributeNames, getAutoPageMapNamePrefix, getAutoPageMapNameSuffix, getClassResolver, getClientInfo, getDefaultPageMap, getFeedbackMessages, getId, getLocale, getMetaData, getPage, getPage, getPageFactory, getPageMaps, getSessionStore, getSizeInBytes, getStyle, incrementCreateAutoPageMapCounter, info, invalidate, invalidateNow, isSessionInvalidated, isTemporary, newPageMap, nextPageId, nextSequenceValue, pageMapForName, removeAttribute, removePageMap, replaceSession, set, setApplication, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, touch, unset, untouch, update, visitPageMaps, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected OntopolySession(org.apache.wicket.Request request, org.apache.wicket.Response response, OntopolyApplication ontopolyApplication)
Method Detail |
---|
public boolean isShortcutsEnabled()
public void setShortcutsEnabled(boolean shortcutsEnabled)
public boolean isAnnotationEnabled()
public void setAnnotationEnabled(boolean annotationEnabled)
public void setAdministrationEnabled(boolean administrationEnabled)
public boolean isAdministrationEnabled()
public java.lang.String getUserName()
protected User getUser()
protected void setUser(User user)
public OntopolyAccessStrategy.Privilege getPrivilege(Topic topic)
public OntopolyAccessStrategy.Privilege getPrivilege(FieldInstance fieldInstance)
public LockManager.Lock lock(Topic topic, java.lang.String lockerId)
public java.lang.String getLockerId(org.apache.wicket.Request request)
protected java.lang.String getLockKey(Topic topic)
public boolean isAccessStrategyEnabled()
public boolean isAuthenticated()
public boolean isAutoLogin()
public org.apache.wicket.authorization.IAuthorizationStrategy getAuthorizationStrategy()
getAuthorizationStrategy
in class org.apache.wicket.Session
public boolean authenticate(java.lang.String username, java.lang.String password)
username
- password
-
public java.lang.String getSignInMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |