Target securityToken and address fully manageable through MGMT API.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
@@ -287,6 +287,7 @@ public interface EntityFactory {
|
||||
|
||||
/**
|
||||
* Generates an empty {@link Target} without persisting it.
|
||||
* {@link Target#getSecurityToken()} is generated.
|
||||
*
|
||||
* @param controllerID
|
||||
* of the {@link Target}
|
||||
@@ -295,6 +296,19 @@ public interface EntityFactory {
|
||||
*/
|
||||
Target generateTarget(@NotEmpty String controllerID);
|
||||
|
||||
/**
|
||||
* Generates an empty {@link Target} without persisting it.
|
||||
*
|
||||
* @param controllerID
|
||||
* of the {@link Target}
|
||||
* @param securityToken
|
||||
* of the {@link Target} for authentication if enabled on tenant.
|
||||
* Generates one if empty or <code>null</code>.
|
||||
*
|
||||
* @return {@link Target} object
|
||||
*/
|
||||
Target generateTarget(@NotEmpty String controllerID, @NotEmpty String securityToken);
|
||||
|
||||
/**
|
||||
* Generates an empty {@link TargetFilterQuery} without persisting it.
|
||||
*
|
||||
|
||||
@@ -58,4 +58,10 @@ public interface Target extends NamedEntity {
|
||||
*/
|
||||
String getSecurityToken();
|
||||
|
||||
/**
|
||||
* @param token
|
||||
* new securityToken
|
||||
*/
|
||||
void setSecurityToken(String token);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user