|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents current application. This object is used when establishing trust with other servers and requesting them to perform privileged operations for this application.
Field Summary | |
static java.lang.String |
HEADER_TRUSTED_APP_CERT
Deprecated. since 0.34 use TrustedApplicationUtils.Header.Request#CERT instead. |
static java.lang.String |
HEADER_TRUSTED_APP_ERROR
Deprecated. since 0.34 use TrustedApplicationUtils.Header.Response.ERROR instead. |
static java.lang.String |
HEADER_TRUSTED_APP_ID
Deprecated. since 0.34 use TrustedApplicationUtils.Header.Request.ID instead. |
static java.lang.String |
HEADER_TRUSTED_APP_SECRET_KEY
Deprecated. since 0.34 use TrustedApplicationUtils.Header.Request.SECRET_KEY instead. |
static java.lang.String |
HEADER_TRUSTED_APP_STATUS
Deprecated. since 0.34 use TrustedApplicationUtils.Header.Response.STATUS instead. |
Method Summary | |
EncryptedCertificate |
encode(java.lang.String userName)
Generates a new certificate that will be sent to the remote server when asking to perform privileged operation for this application. |
Methods inherited from interface com.atlassian.security.auth.trustedapps.Application |
getID, getPublicKey |
Field Detail |
public static final java.lang.String HEADER_TRUSTED_APP_ID
TrustedApplicationUtils.Header.Request.ID
instead.
public static final java.lang.String HEADER_TRUSTED_APP_CERT
TrustedApplicationUtils.Header.Request#CERT
instead.
public static final java.lang.String HEADER_TRUSTED_APP_SECRET_KEY
TrustedApplicationUtils.Header.Request.SECRET_KEY
instead.
public static final java.lang.String HEADER_TRUSTED_APP_ERROR
TrustedApplicationUtils.Header.Response.ERROR
instead.
public static final java.lang.String HEADER_TRUSTED_APP_STATUS
TrustedApplicationUtils.Header.Response.STATUS
instead.
Method Detail |
public EncryptedCertificate encode(java.lang.String userName)
InvalidCertificateException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |