org.apache.jetspeed.security
Interface SecurityDomain


public interface SecurityDomain

Version:
$Id: SecurityDomain.java 732386 2009-01-07 16:33:26Z ddam $
Author:
Dennis Dam

Field Summary
static java.lang.String DEFAULT_NAME
           
static java.lang.String SYSTEM_NAME
           
 
Method Summary
 java.lang.Long getDomainId()
          Unique domain id.
 java.lang.String getName()
          Unique string identifier for this domain.
 java.lang.Long getOwnerDomainId()
          Returns the id of the domain which is the owner of this domain.
 boolean isEnabled()
          Returns whether this domain is enabled or not.
 boolean isRemote()
          Returns whether this domain constitutes a local (false) or remote (true) domain.
 

Field Detail

SYSTEM_NAME

static final java.lang.String SYSTEM_NAME
See Also:
Constant Field Values

DEFAULT_NAME

static final java.lang.String DEFAULT_NAME
See Also:
Constant Field Values
Method Detail

getDomainId

java.lang.Long getDomainId()
Unique domain id. The ids 0 (system) and 1 (default domain) are reserved.

Returns:
the domain id

getName

java.lang.String getName()
Unique string identifier for this domain. E.g. can be used from declarative references to this domain.

Returns:
name

getOwnerDomainId

java.lang.Long getOwnerDomainId()
Returns the id of the domain which is the owner of this domain. This feature is used by remote domains, which can only be accessed in the context of a local domain: a local domain is the owner of a remote domain.

Returns:

isRemote

boolean isRemote()
Returns whether this domain constitutes a local (false) or remote (true) domain. Remote domains are accessed via the SSO component.

Returns:
remote

isEnabled

boolean isEnabled()
Returns whether this domain is enabled or not.

Returns:
enabled


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.