com.atlassian.crowd.model.application
Class RemoteAddress

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

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

A remote address that an Application is allowed to originate from when performing operations verses the Crowd security server.

See Also:
Serialized Form

Constructor Summary
RemoteAddress()
           
RemoteAddress(java.lang.String address, boolean active)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAddress()
          Gets the remote address.
 int hashCode()
           
 boolean isActive()
          Gets if the address is active or inactive.
 void setActive(boolean active)
          Sets if the address is active or inactive.
 void setAddress(java.lang.String address)
          Sets the remote address.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAddress

public RemoteAddress(java.lang.String address,
                     boolean active)

RemoteAddress

public RemoteAddress()
Method Detail

getAddress

public java.lang.String getAddress()
Gets the remote address.

Returns:
The address.

setAddress

public void setAddress(java.lang.String address)
Sets the remote address.

Parameters:
address - The address.

isActive

public boolean isActive()
Gets if the address is active or inactive.

Returns:
true if and only if the address is active, otherwise false.

setActive

public void setActive(boolean active)
Sets if the address is active or inactive.

Parameters:
active - true if and only if the address is active, otherwise false.

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.