All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface sun.server.realm.Host

public interface Host
extends Principal
This is an interface that can be used for host based authentication.


Method Index

 o equals(Host)
Checks if the host represented by this Principal is the same as the other host
 o getDomainName()
Returns the domain name of this host
 o isSameDomain(Host)
Checks if the host is in the same domain as the other host

Methods

 o getDomainName
  public abstract String getDomainName()
Returns the domain name of this host

Returns:
the domain name
 o equals
  public abstract boolean equals(Host otherHost)
Checks if the host represented by this Principal is the same as the other host

Parameters:
otherHost - Principal representing other host
Returns:
true if same
 o isSameDomain
  public abstract boolean isSameDomain(Host otherHost)
Checks if the host is in the same domain as the other host

Parameters:
otherHost - Principal representing other host
Returns:
true if they are from the same domain

All Packages  Class Hierarchy  This Package  Previous  Next  Index