Interface PermissionsVerifier

All Superinterfaces:
com.zeroc.Ice.Object

public interface PermissionsVerifier extends com.zeroc.Ice.Object
The Glacier2 permissions verifier. This is called through the process of establishing a session.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Holds the result of operation checkPermissions.

    Nested classes/interfaces inherited from interface com.zeroc.Ice.Object

    com.zeroc.Ice.Object.Ice_invokeResult
  • Method Summary

    Modifier and Type
    Method
    Description
    checkPermissions(String userId, String password, com.zeroc.Ice.Current current)
    Check whether a user has permission to access the router.
    default String
    ice_id(com.zeroc.Ice.Current current)
     
    default String[]
    ice_ids(com.zeroc.Ice.Current current)
     
    static String
     

    Methods inherited from interface com.zeroc.Ice.Object

    _iceRead, _iceReadImpl, _iceWrite, _iceWriteImpl, ice_dispatch, ice_isA, ice_ping
  • Method Details

    • checkPermissions

      PermissionsVerifier.CheckPermissionsResult checkPermissions(String userId, String password, com.zeroc.Ice.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

      default String[] ice_ids(com.zeroc.Ice.Current current)
      Specified by:
      ice_ids in interface com.zeroc.Ice.Object
    • ice_id

      default String ice_id(com.zeroc.Ice.Current current)
      Specified by:
      ice_id in interface com.zeroc.Ice.Object
    • ice_staticId

      static String ice_staticId()