com.atlassian.confluence.security.trust
Class ConfluenceTrustedApplication

java.lang.Object
  extended by com.atlassian.confluence.security.trust.ConfluenceTrustedApplication

public class ConfluenceTrustedApplication
extends java.lang.Object


Constructor Summary
ConfluenceTrustedApplication()
           
 
Method Summary
 void addRestriction(TrustedApplicationRestriction restriction)
           
 boolean equals(java.lang.Object o)
          Performs an equality check on the passed in object.
 long getId()
           
 java.util.Set getIpRestrictions()
           
 java.lang.String getName()
           
 AliasedKey getPublicKey()
           
 int getRequestTimeout()
           
 java.util.Set getRestrictions()
           
 java.util.Set getUrlRestrictions()
           
 int hashCode()
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setPublicKey(AliasedKey publicKey)
           
 void setRequestTimeout(int requestTimeout)
           
 void setRestrictions(java.util.Set restrictions)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceTrustedApplication

public ConfluenceTrustedApplication()
Method Detail

getId

public long getId()

setId

public void setId(long id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getRequestTimeout

public int getRequestTimeout()

setRequestTimeout

public void setRequestTimeout(int requestTimeout)

getPublicKey

public AliasedKey getPublicKey()

setPublicKey

public void setPublicKey(AliasedKey publicKey)

getRestrictions

public java.util.Set getRestrictions()

setRestrictions

public void setRestrictions(java.util.Set restrictions)

addRestriction

public void addRestriction(TrustedApplicationRestriction restriction)

getUrlRestrictions

public java.util.Set getUrlRestrictions()

getIpRestrictions

public java.util.Set getIpRestrictions()

equals

public boolean equals(java.lang.Object o)
Performs an equality check on the passed in object. TrustedApplications are considered equal if their id's are equal.

Overrides:
equals in class java.lang.Object
Returns:
true if the passed in object is a ConfluenceTrustedApplication and is considered equal

hashCode

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


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.