Package | Description |
---|---|
de.innovationgate.webgate.api |
Basic functionality of the WGAPI including most of the database-independent functionality.
|
de.innovationgate.webgate.api.fake |
Fake implementations for WGAPI, used by some WGAPI database types if they do not support certain document types.
|
de.innovationgate.webgate.api.query.rss | |
de.innovationgate.webgate.api.templates |
Templates to create your own simple content/design/repository sources.
|
Modifier and Type | Class and Description |
---|---|
class |
WGUserDetails
Detail information about a logged in WGA user, consolidating information from an auth session and
- His primary name (which should be identical to what the WGSessionContext returns as user name)
- His known name aliases/variants
- His user groups
- His roles
- His e mail address (for workflow)
Not every database implementation supports creating this detail information.
|
Modifier and Type | Method and Description |
---|---|
WGUserAccess |
WGSessionContext.getOriginalUserAccess()
If an
UserAccessFilter is active on the session returns the original user access of the current user without the filter. |
WGUserAccess |
WGSessionContext.getUserAccess()
Returns the complete access rights information of current session
|
WGUserAccess |
WGDatabaseCore.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly)
Opens a database initially.
|
WGUserAccess |
WGDatabaseCore.openSession(AuthenticationSession authSession,
java.lang.Object credentials,
boolean master)
Opens a session for the given user/thread.
|
Modifier and Type | Method and Description |
---|---|
int |
UserAccessFilter.getMaximumAccessLevel(WGUserAccess userAccess)
Returns the maximum access level with this filter applied
|
PageRightsFilter.Right |
DefaultPageRightsFilter.mayEditChildPages(WGStructEntry page,
WGUserAccess userAccess) |
PageRightsFilter.Right |
PageRightsFilter.mayEditChildPages(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may edit data on child pages of the given page
|
PageRightsFilter.Right |
DefaultPageRightsFilter.mayEditContent(WGStructEntry page,
WGUserAccess userAccess,
WGLanguage wgLanguage) |
PageRightsFilter.Right |
PageRightsFilter.mayEditContent(WGStructEntry page,
WGUserAccess userAccess,
WGLanguage wgLanguage)
Called to determine if the current user may edit content of a given language on this page
|
PageRightsFilter.Right |
DefaultPageRightsFilter.mayEditPage(WGStructEntry page,
WGUserAccess userAccess) |
PageRightsFilter.Right |
PageRightsFilter.mayEditPage(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may edit data on the given page
|
PageRightsFilter.Right |
DefaultPageRightsFilter.mayReadContent(WGStructEntry page,
WGUserAccess userAccess) |
PageRightsFilter.Right |
PageRightsFilter.mayReadContent(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may read contents on the given page
|
void |
WGDatabase.ReconfigurationAccessor.reconfigureCore(boolean prepareOnly,
WGUserAccess userAccess) |
boolean |
UserAccessFilter.validateAlias(WGUserAccess userAccess,
java.lang.String alias)
Returns if the user may have this user name alias with this filter applied
|
boolean |
UserAccessFilter.validateGroup(WGUserAccess userAccess,
java.lang.String group)
Returns if the user may have this group with this filter applied
|
boolean |
UserAccessFilter.validatePrivilege(WGUserAccess userAccess,
Privilege privilege)
Returns if the user may have this privilege with this filter applied
|
boolean |
UserAccessFilter.validateRole(WGUserAccess userAccess,
java.lang.String role)
Returns if the user may have this role with this filter applied
|
Modifier and Type | Method and Description |
---|---|
WGUserAccess |
WGFakeDatabase.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly) |
WGUserAccess |
WGFakeContentStore.openSession(AuthenticationSession authSession,
java.lang.Object credentials,
boolean master) |
Modifier and Type | Method and Description |
---|---|
WGUserAccess |
WGDatabaseImpl.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly) |
WGUserAccess |
WGDatabaseImpl.openSession(AuthenticationSession authSession,
java.lang.Object pwd,
boolean master) |
Modifier and Type | Method and Description |
---|---|
WGUserAccess |
SimpleContentSource.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly) |
WGUserAccess |
SimpleContentSource.openSession(AuthenticationSession authSession,
java.lang.Object pwd,
boolean master) |