Class CNAuthenticatedUserACL


  • public class CNAuthenticatedUserACL
    extends ACL
    Gives user permission if the user is authenticated.
    • Constructor Detail

      • CNAuthenticatedUserACL

        public CNAuthenticatedUserACL()
    • Method Detail

      • hasPermission

        public boolean hasPermission​(Authentication a,
                                     Permission p)
        If the user is authenticated, return true.
        Overrides:
        hasPermission in class ACL
        Parameters:
        a - current authentication.
        p - permission to check
        Returns:
        true if the user should have the permission.