Package ontopoly
Class OntopolySession
java.lang.Object
org.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
ontopoly.OntopolySession
- All Implemented Interfaces:
Serializable,org.apache.wicket.IClusterable
public class OntopolySession
extends org.apache.wicket.protocol.http.WebSession
- See Also:
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsModifierConstructorDescriptionprotectedOntopolySession(org.apache.wicket.Request request, org.apache.wicket.Response response, OntopolyApplication ontopolyApplication) -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String username, String password) Authenticates a user given the username and password.org.apache.wicket.authorization.IAuthorizationStrategygetLockerId(org.apache.wicket.Request request) protected StringgetLockKey(Topic topic) getPrivilege(FieldInstance fieldInstance) getPrivilege(Topic topic) protected UsergetUser()booleanbooleanbooleanbooleanbooleanbooleanvoidsetAdministrationEnabled(boolean administrationEnabled) voidsetAnnotationEnabled(boolean annotationEnabled) voidsetShortcutsEnabled(boolean shortcutsEnabled) protected voidMethods inherited from class org.apache.wicket.protocol.http.WebSession
cleanupComponentFeedbackMessages, cleanupFeedbackMessages, isCurrentRequestValidMethods 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
-
Constructor Details
-
OntopolySession
protected OntopolySession(org.apache.wicket.Request request, org.apache.wicket.Response response, OntopolyApplication ontopolyApplication)
-
-
Method Details
-
isShortcutsEnabled
public boolean isShortcutsEnabled() -
setShortcutsEnabled
public void setShortcutsEnabled(boolean shortcutsEnabled) -
isAnnotationEnabled
public boolean isAnnotationEnabled() -
setAnnotationEnabled
public void setAnnotationEnabled(boolean annotationEnabled) -
setAdministrationEnabled
public void setAdministrationEnabled(boolean administrationEnabled) -
isAdministrationEnabled
public boolean isAdministrationEnabled() -
getUserName
-
getUser
-
setUser
-
getPrivilege
-
getPrivilege
-
lock
-
getLockerId
-
getLockKey
-
isAccessStrategyEnabled
public boolean isAccessStrategyEnabled() -
isAuthenticated
public boolean isAuthenticated() -
isAutoLogin
public boolean isAutoLogin() -
getAuthorizationStrategy
public org.apache.wicket.authorization.IAuthorizationStrategy getAuthorizationStrategy()- Overrides:
getAuthorizationStrategyin classorg.apache.wicket.Session
-
authenticate
Authenticates a user given the username and password.- Parameters:
username-password-- Returns:
- true if the user was authenticated.
-
getSignInMessage
-