Package com.zeroc.Glacier2
Interface PermissionsVerifier
- All Superinterfaces:
Object
The Glacier2 permissions verifier. This is called through the
process of establishing a session.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Holds the result of operation checkPermissions.Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptioncheckPermissions
(String userId, String password, Current current) Check whether a user has permission to access the router.default String
Returns the Slice type ID of the most-derived interface supported by this object.default String[]
Returns the Slice type IDs of the interfaces supported by this object.static String
Returns the Slice type ID of the interface supported by this object.Methods inherited from interface com.zeroc.Ice.Object
ice_dispatch, ice_isA, ice_ping
-
Method Details
-
checkPermissions
PermissionsVerifier.CheckPermissionsResult checkPermissions(String userId, String password, Current current) throws PermissionDeniedException Check whether a user has permission to access the router.- Parameters:
userId
- The user id for which to check permission.password
- The user's password.current
- The Current object for the invocation.- Returns:
- An instance of PermissionsVerifier.CheckPermissionsResult.
- Throws:
PermissionDeniedException
- Raised if the user access is denied. This can be raised in place of returning false with a reason set in the reason out parameter.
-
ice_ids
Description copied from interface:Object
Returns the Slice type IDs of the interfaces supported by this object. -
ice_id
Description copied from interface:Object
Returns the Slice type ID of the most-derived interface supported by this object. -
ice_staticId
Description copied from interface:Object
Returns the Slice type ID of the interface supported by this object.- Returns:
- The return value is always ::Ice::Object.
-