com.atlassian.security.auth.trustedapps
Class SimpleApplication

java.lang.Object
  extended bycom.atlassian.security.auth.trustedapps.SimpleApplication
All Implemented Interfaces:
Application

public class SimpleApplication
extends java.lang.Object
implements Application

A simple data container


Constructor Summary
SimpleApplication(java.lang.String id, java.security.PublicKey publicKey)
           
 
Method Summary
 java.lang.String getID()
           
 java.security.PublicKey getPublicKey()
          Public key of this application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleApplication

public SimpleApplication(java.lang.String id,
                         java.security.PublicKey publicKey)
Method Detail

getID

public java.lang.String getID()
Specified by:
getID in interface Application
Returns:
Unique ID representing this application

getPublicKey

public java.security.PublicKey getPublicKey()
Description copied from interface: Application
Public key of this application. Public key will be sent to the remote server when requesting it to trust this application.

Specified by:
getPublicKey in interface Application


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.