com.atlassian.crowd.model.application
Class DirectoryMapping

java.lang.Object
  extended by com.atlassian.crowd.model.application.DirectoryMapping
All Implemented Interfaces:
java.io.Serializable

public class DirectoryMapping
extends java.lang.Object
implements java.io.Serializable

Maintains a link for directories that are mapped to an Application. If a Directory is mapped to an application that Application will be able to see all users who are managed by that directory.

See Also:
Serialized Form

Constructor Summary
DirectoryMapping()
           
DirectoryMapping(Directory directory, java.lang.Boolean allowAllToAuthenticate, Application application)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Boolean getAllowAllToAuthenticate()
          Gets if the directory mapping allows all principals to authenticate.
 Application getApplication()
           
 Directory getDirectory()
          Gets the mapped directory.
 int hashCode()
           
 void setAllowAllToAuthenticate(java.lang.Boolean allowAllToAuthenticate)
          Sets if the directory mapping allows all principals to authenticate.
 void setApplication(Application application)
           
 void setDirectory(Directory directory)
          Sets the mapped directory.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryMapping

public DirectoryMapping()

DirectoryMapping

public DirectoryMapping(Directory directory,
                        java.lang.Boolean allowAllToAuthenticate,
                        Application application)
Method Detail

getDirectory

public Directory getDirectory()
Gets the mapped directory.

Returns:
The directory.

setDirectory

public void setDirectory(Directory directory)
Sets the mapped directory.

Parameters:
directory - The directory.

getAllowAllToAuthenticate

public java.lang.Boolean getAllowAllToAuthenticate()
Gets if the directory mapping allows all principals to authenticate.

Returns:
true if and only if all principals can authenticate, otherwise false.

setAllowAllToAuthenticate

public void setAllowAllToAuthenticate(java.lang.Boolean allowAllToAuthenticate)
Sets if the directory mapping allows all principals to authenticate.

Parameters:
allowAllToAuthenticate - true if and only if all principals can authenticate, otherwise false.

getApplication

public Application getApplication()

setApplication

public void setApplication(Application application)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.