public class GenericCreatorParams extends Object
IGenericCreator class needs to execute a script -
the current user and the script.| Constructor and Description |
|---|
GenericCreatorParams(com.sap.security.api.IUser user,
InputStream XMLDocument)
A constructor that specifies the user and the XML script to execute.
|
GenericCreatorParams(com.sap.security.api.IUser user,
String XMLDocumentAsString)
A constructor that specifies the user and the XML script to execute.
|
GenericCreatorParams(String userID,
InputStream XMLDocument)
A constructor that specifies the user and the XML script to execute.
|
GenericCreatorParams(String userID,
String XMLDocumentAsString)
A constructor that specifies the user and the XML script to execute.
|
| Modifier and Type | Method and Description |
|---|---|
com.sap.security.api.IUser |
getSpecifiedUser()
Gets the user specified for executing the script.
|
com.sap.security.api.IUser |
getUser()
Deprecated.
Replaced by
getSpecifiedUser() |
InputStream |
getXMLDocument()
Deprecated.
Replaced by
getXMLScript() |
InputStream |
getXMLScript()
Gets the XML script to execute.
|
public GenericCreatorParams(com.sap.security.api.IUser user,
InputStream XMLDocument)
user - the user executing the scriptXMLDocument - the XML script as an InputStreampublic GenericCreatorParams(com.sap.security.api.IUser user,
String XMLDocumentAsString)
user - the user executing the scriptXMLDocumentAsString - the XML script as a Stringpublic GenericCreatorParams(String userID, InputStream XMLDocument)
userID - the uniqueID or the logonID of the user executing the scriptXMLDocument - the XML script as an InputStreampublic com.sap.security.api.IUser getUser()
throws com.sap.security.api.UMException
getSpecifiedUser()com.sap.security.api.UMException - This exception is never thrown.public InputStream getXMLDocument() throws UnsupportedEncodingException
getXMLScript()UnsupportedEncodingException - This exception is never thrown.public com.sap.security.api.IUser getSpecifiedUser()
public InputStream getXMLScript()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice