com.hyper9.vangaea.types.beans.admin
Interface LinkedCredentialBean

All Superinterfaces:
AdminBean, com.hyper9.common.beans.Bean, java.io.Serializable, com.hyper9.common.beans.UniqueBean<java.lang.Integer>
All Known Implementing Classes:
LinkedCredentialBeanImpl

public interface LinkedCredentialBean
extends AdminBean

A bean for describing a row in the tbl_linked_credentials table.

Author:
akutz

Method Summary
 java.lang.String getCertificate()
          Gets the AES-encrypted certificate of this credential as a hex-formatted string.
 java.lang.String getPassphrase()
          Gets the AES-encrypted passphrase of this credential as a hex-formatted string.
 java.lang.String getSalt()
          Gets the salt used to encrypt this credential set as a hex-formatted string.
 ServerInformationBean getServer()
          Gets the server linked to this credential.
 int getServerID()
          Gets the ID of the server that this credential is linked to.
 UserBean getUser()
          Gets the user linked to this credential.
 int getUserID()
          Gets the ID of the user that this credential is linked to.
 java.lang.String getUserName()
          Gets the AES-encrypted user name of this credential as a hex-formatted string.
 void setCertificate(java.lang.String toSet)
          Sets the AES-encrypted certificate of this credential as a hex-formatted string.
 void setPassphrase(java.lang.String toSet)
          Sets the AES-encrypted passphrase of this credential as a hex-formatted string.
 void setSalt(java.lang.String toSet)
          Sets the salt used to encrypt this credential set as a hex-formatted string.
 void setServerID(int toSet)
          Sets the ID of the server that this credential is linked to.
 void setUserID(int toSet)
          Sets the ID of the user that this credential is linked to.
 void setUserName(java.lang.String toSet)
          Gets the AES-encrypted user name of this credential as a hex-formatted string.
 
Methods inherited from interface com.hyper9.vangaea.types.beans.admin.AdminBean
getConnection, isDeleted, isDirty
 
Methods inherited from interface com.hyper9.common.beans.UniqueBean
getID, setID
 
Methods inherited from interface com.hyper9.common.beans.Bean
toString, toString, toString, toString
 

Method Detail

getUser

UserBean getUser()
                 throws java.lang.Exception
Gets the user linked to this credential.

Returns:
The user linked to this credential.
Throws:
java.lang.Exception - When an error occurs.

getServer

ServerInformationBean getServer()
                                throws java.lang.Exception
Gets the server linked to this credential.

Returns:
The server linked to this credential.
Throws:
java.lang.Exception - When an error occurs.

getUserID

int getUserID()
Gets the ID of the user that this credential is linked to.

Returns:
The ID of the user that this credential is linked to.

getServerID

int getServerID()
Gets the ID of the server that this credential is linked to.

Returns:
The ID of the server that this credential is linked to.

getUserName

java.lang.String getUserName()
Gets the AES-encrypted user name of this credential as a hex-formatted string.

Returns:
The AES-encrypted user name of this credential as a hex-formatted string.

getPassphrase

java.lang.String getPassphrase()
Gets the AES-encrypted passphrase of this credential as a hex-formatted string.

Returns:
The AES-encrypted passphrase of this credential as a hex-formatted string.

getCertificate

java.lang.String getCertificate()
Gets the AES-encrypted certificate of this credential as a hex-formatted string.

Returns:
The AES-encrypted certificate of this credential as a hex-formatted string.

getSalt

java.lang.String getSalt()
Gets the salt used to encrypt this credential set as a hex-formatted string.

Returns:
The salt used to encrypt this credential set as a hex-formatted string.

setUserID

void setUserID(int toSet)
Sets the ID of the user that this credential is linked to.

Parameters:
toSet - The ID of the user that this credential is linked to.

setServerID

void setServerID(int toSet)
Sets the ID of the server that this credential is linked to.

Parameters:
toSet - The ID of the server that this credential is linked to.

setUserName

void setUserName(java.lang.String toSet)
Gets the AES-encrypted user name of this credential as a hex-formatted string.

Parameters:
toSet - The AES-encrypted user name of this credential as a hex-formatted string.

setPassphrase

void setPassphrase(java.lang.String toSet)
Sets the AES-encrypted passphrase of this credential as a hex-formatted string.

Parameters:
toSet - The AES-encrypted passphrase of this credential as a hex-formatted string.

setCertificate

void setCertificate(java.lang.String toSet)
Sets the AES-encrypted certificate of this credential as a hex-formatted string.

Parameters:
toSet - The AES-encrypted certificate of this credential as a hex-formatted string.

setSalt

void setSalt(java.lang.String toSet)
Sets the salt used to encrypt this credential set as a hex-formatted string.

Parameters:
toSet - The salt used to encrypt this credential set as a hex-formatted string.


Copyright © 2009 Hyper9. All Rights Reserved.