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.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
|
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 |
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) |