public interface IWebAppMechanics extends IAccessMechanics
ACCESS_DENIED, ACCESS_GRANTED, ACCESS_RIGHT_ID, ACCESS_RIGHT_LONG_NAME, ACCESS_RIGHT_SHORT_NAME, ACCESS_RIGHTS_CONTAINER, ACCESS_UNSPECIFIED, AUTH_LEVEL_ANONYMOUS, AUTH_LEVEL_BASIC, AUTH_LEVEL_DEFAULT, AUTH_LEVEL_FULL_ACCESS, AUTH_LEVEL_KERBEROS, AUTH_LEVEL_NTLM, AUTH_LEVEL_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
checkAccess(IThingID itemId,
IThingID userId,
int rights,
Map<?,?> capabilities)
Check access for a given thingID.
|
canRemoveAccess, canRemoveSecurityRealm, canSetAccess, canSetAuthentication, canSetOwner, canSetSecurityRealm, checkAccessEx, checkRemoveAccess, checkRemoveSecurityRealm, checkSetAccess, checkSetAuthentication, checkSetOwner, checkSetSecurityRealm, cloneAces, fireRemoveAcccesEvent, fireRemoveAcccesEvent, fireRemoveSecurityRealmEvent, fireSetAccessEvent, fireSetAccessEvent, fireSetAuthenticationEvent, fireSetAuthenticationEvent, fireSetOwnerEvent, fireSetOwnerEvent, fireSetSecurityRealmEvent, getAccess, getAccessEx, getAccessList, getAccessListEx, getAclView, getAuthLevelForAuthScheme, getAuthScheme, getAuthSchemeForAuthLevel, getAuthSchemeForResource, getAvailableAuthSchemes, getDefaultAuthScheme, getRightNameForValue, getRightsForType, getRightValueForName, getSecurityRealm, invalidateAcesForThing, invalidateAcesForUser, listSecurityRealmObjects, removeAces, removeSecurityRealm, setAces, setAcesEx, setSecurityRealm, setSecurityRealm
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
void checkAccess(IThingID itemId, IThingID userId, int rights, Map<?,?> capabilities) throws PortalException
checkAccess
in interface IAccessMechanics
itemId
- IURI
of itemuserId
- IThingID
of userrights
- The requested rights (@see com.webmethods.portal.service.meta2.access.IAccessRight)capabilities
- Known set of capabilities for this user.
May be null, in which case they'll be looked up from the
IContext.SCOPE_REQUEST
attributes
on the user's IContext
.PortalException
- if the userId is invalid.