Class AppPermission

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Guard

    @Beta
    public class AppPermission
    extends java.security.BasicPermission
    Implementation of API access permission.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AppPermission.Type  
    • Constructor Summary

      Constructors 
      Constructor Description
      AppPermission​(java.lang.String name)
      Creates new application permission using the supplied data.
      AppPermission​(java.lang.String name, java.lang.String actions)
      Creates new application permission using the supplied data.
      AppPermission​(AppPermission.Type type)
      Crates new application permission using the supplied data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AppPermission.Type getType()
      Returns type of permission.
      • Methods inherited from class java.security.BasicPermission

        equals, getActions, hashCode, implies, newPermissionCollection
      • Methods inherited from class java.security.Permission

        checkGuard, getName, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AppPermission

        public AppPermission​(java.lang.String name)
        Creates new application permission using the supplied data.
        Parameters:
        name - permission name
      • AppPermission

        public AppPermission​(java.lang.String name,
                             java.lang.String actions)
        Creates new application permission using the supplied data.
        Parameters:
        name - permission name
        actions - permission action
      • AppPermission

        public AppPermission​(AppPermission.Type type)
        Crates new application permission using the supplied data.
        Parameters:
        type - permission type
    • Method Detail

      • getType

        public AppPermission.Type getType()
        Returns type of permission.
        Returns:
        application permission type