Package jade.security

Interface JADEPrincipal

  • All Superinterfaces:
    Principal

    public interface JADEPrincipal
    extends Principal
    The JADEPrincipal interface represents all principals acting on the platform. They will be held responsible for their own agents and containers.
    Version:
    $Date$ $Revision$
    Author:
    Michele Tomaiuolo - Universita` di Parma, Giosue Vitaglione - Telecom Italia LAB
    • Method Detail

      • getName

        String getName()
        Returns the name of this principal as known to its platform.
        Specified by:
        getName in interface Principal
        Returns:
        The name.
      • getSDSIName

        SDSIName getSDSIName()
        Returns the SDSI name of this principal (if any)
        Returns:
        The SDSIName
      • getEncoded

        byte[] getEncoded()
        Checks the hierarchical relationship between two principals, i.e. tells if this principal belongs to group p. If this holds, all permissions granted to p will be automatically granted to this principal, too.
        Parameters:
        p - The principal to check.
        Returns:
        True if this principal is a member of group p.