Weaver 3.1.0a1-D1

com.oldlight.weaver.context
Interface WeaverSecurityContext

All Known Implementing Classes:
WeaverSecurityContextImpl

public interface WeaverSecurityContext

The WeaverSecurityContext interfaces manages authentication domains.

Author:
Paul Harvey

Method Summary
 void addDomain(String domain)
          Adds the named domain.
 boolean isDomainAuthenticated(String domain)
          Checks whether a given domain has been added.
 void removeDomain(String domain)
          Removes the named domain.
 

Method Detail

addDomain

public void addDomain(String domain)
Adds the named domain.

Parameters:
domain - Domain to add.

removeDomain

public void removeDomain(String domain)
Removes the named domain.

Parameters:
domain - Domain to remove.

isDomainAuthenticated

public boolean isDomainAuthenticated(String domain)
Checks whether a given domain has been added.

Parameters:
domain - Name of the domain to check.
Returns:
Whether the domain has been added.

Copyright ©Paul Harvey