Class PrivilegeMapping


  • public final class PrivilegeMapping
    extends java.lang.Object
    Maps Firebird privilege codes (from RDB$USER_PRIVILEGES.RDB$PRIVILEGE) to a privilege name.
    Since:
    5
    Author:
    Mark Rotteveel
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String mapPrivilege​(java.lang.String firebirdPrivilege)
      Maps the (one character) Firebird privilege code to the equivalent JDBC privilege.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mapPrivilege

        public static java.lang.String mapPrivilege​(java.lang.String firebirdPrivilege)
        Maps the (one character) Firebird privilege code to the equivalent JDBC privilege.
        Parameters:
        firebirdPrivilege - Firebird privilege character
        Returns:
        privilege name or "UNKNOWN" when the privilege is not known