Package com.redwood.scheduler.api.model
Interface SAPUsernamePassword
-
- All Superinterfaces:
Detail,SchedulerEntity,SchedulerEntityComp
- All Known Subinterfaces:
SAPBAEConfiguration,SAPCommonSettings,SAPJ2EEClient,SAPXAL,SAPXBP,SAPXMW
public interface SAPUsernamePassword extends Detail
SAP username and password.
-
-
Field Summary
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SAPUsernamePasswordAuthTypegetAuthType()Get the value for AuthType.StringgetCredentialEndpoint()Get the value for CredentialEndpoint.StringgetCredentialUser()Get the value for CredentialUser.CredentialUserTypegetCredentialUserType()Get the value for CredentialUserType.StringgetPassword()Get the value for Password.StringgetStoredPassword()Get the value as stored with setPassword(String).StringgetStoredUsername()Get the value as stored with setUsername(String).StringgetUsername()Get the value for Username.voidsetAuthType(SAPUsernamePasswordAuthType newAuthType)Set the value for AuthType.voidsetCredentialEndpoint(String newCredentialEndpoint)Set the value for CredentialEndpoint.voidsetCredentialUser(String newCredentialUser)Set the value for CredentialUser.voidsetCredentialUserType(CredentialUserType newCredentialUserType)Set the value for CredentialUserType.voidsetPassword(String newPassword)Set the value for Password.voidsetUsername(String newUsername)Set the value for Username.-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Method Detail
-
getAuthType
SAPUsernamePasswordAuthType getAuthType()
Get the value for AuthType. (Specifies the authentication type) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getPassword
String getPassword()
Get the value for Password. (Clear-text password for SAP connection.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getUsername
String getUsername()
Get the value for Username. (Username for SAP connection.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getCredentialUserType
CredentialUserType getCredentialUserType()
Get the value for CredentialUserType. (Username for the credential to use for the SAP connection.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getCredentialUser
String getCredentialUser()
Get the value for CredentialUser. (Username for the credential to use for the SAP connection.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getCredentialEndpoint
String getCredentialEndpoint()
Get the value for CredentialEndpoint. (Username for the credential to use for the SAP connection.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setAuthType
void setAuthType(SAPUsernamePasswordAuthType newAuthType)
Set the value for AuthType. (Specifies the authentication type) This value is mandatory.- Parameters:
newAuthType- the new value for AuthType. If this isnull, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setPassword
void setPassword(String newPassword)
Set the value for Password. (Clear-text password for SAP connection.) This value is optional.- Parameters:
newPassword- the new value for Password.- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setUsername
void setUsername(String newUsername)
Set the value for Username. (Username for SAP connection.) This value is optional.- Parameters:
newUsername- the new value for Username.- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setCredentialUserType
void setCredentialUserType(CredentialUserType newCredentialUserType)
Set the value for CredentialUserType. (Username for the credential to use for the SAP connection.) This value is optional.- Parameters:
newCredentialUserType- the new value for CredentialUserType.- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setCredentialUser
void setCredentialUser(String newCredentialUser)
Set the value for CredentialUser. (Username for the credential to use for the SAP connection.) This value is optional.- Parameters:
newCredentialUser- the new value for CredentialUser.- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setCredentialEndpoint
void setCredentialEndpoint(String newCredentialEndpoint)
Set the value for CredentialEndpoint. (Username for the credential to use for the SAP connection.) This value is optional.- Parameters:
newCredentialEndpoint- the new value for CredentialEndpoint.- Throws:
ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getStoredPassword
String getStoredPassword()
Get the value as stored with setPassword(String). The method getPassword() may return the password from a Credential, i.s.o. what is stored on this object. The method getStoredPassword() will return the password that is stored on this object.- Returns:
- The password that is stored on this object.
-
getStoredUsername
String getStoredUsername()
Get the value as stored with setUsername(String). The method getUsername() may return the (real) user from a Credential, i.s.o. what is stored on this object. The method getStoredUsername() will return the username that is stored on this object.- Returns:
- The username that is stored on this object.
-
-