public class ConfluenceTrustedApplication extends Object
Constructor and Description |
---|
ConfluenceTrustedApplication() |
Modifier and Type | Method and Description |
---|---|
void |
addRestriction(TrustedApplicationRestriction restriction) |
boolean |
equals(Object o)
Performs an equality check on the passed in object.
|
long |
getId() |
Set<String> |
getIpRestrictions() |
String |
getName() |
AliasedKey |
getPublicKey() |
int |
getRequestTimeout() |
Set<TrustedApplicationRestriction> |
getRestrictions() |
Set<String> |
getUrlRestrictions() |
int |
hashCode() |
boolean |
removeRestriction(TrustedApplicationRestriction restriction) |
void |
setId(long id) |
void |
setName(String name) |
void |
setPublicKey(AliasedKey publicKey) |
void |
setRequestTimeout(int requestTimeout) |
void |
setRestrictions(Set<TrustedApplicationRestriction> restrictions) |
com.atlassian.security.auth.trustedapps.TrustedApplication |
toDefaultTrustedApplication(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider)
Create an instance of
TrustedApplication based on
this instance of ConfluenceTrustedApplication . |
public long getId()
public void setId(long id)
public String getName()
public void setName(String name)
public int getRequestTimeout()
public void setRequestTimeout(int requestTimeout)
public AliasedKey getPublicKey()
public void setPublicKey(AliasedKey publicKey)
public Set<TrustedApplicationRestriction> getRestrictions()
public void setRestrictions(Set<TrustedApplicationRestriction> restrictions)
public void addRestriction(TrustedApplicationRestriction restriction)
public boolean removeRestriction(TrustedApplicationRestriction restriction)
public boolean equals(Object o)
public final com.atlassian.security.auth.trustedapps.TrustedApplication toDefaultTrustedApplication(@Nonnull com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider)
TrustedApplication
based on
this instance of ConfluenceTrustedApplication
.encryptionProvider
- The EncryptionProvider
to be
used by the TrustedApplication
. Cannot be null.TrustedApplication
based on
this
.Copyright © 2003–2018 Atlassian. All rights reserved.