public class ServerIdentityConfigurationImpl extends Object implements ServerIdentityConfiguration
Constructor and Description |
---|
ServerIdentityConfigurationImpl()
ServerIdentityConfiguration empty constructor for YAMLFactory
|
ServerIdentityConfigurationImpl(String identityName,
int identityServerId,
int identitySiteId,
String identityRole)
ServerIdentityConfiguration constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentityName()
Must return the value of a 'identityName' attribute
|
String |
getIdentityRole()
Must return the value of a 'identityRole' attribute
|
int |
getIdentityServerId()
Must return the value of a 'IdentityServerId' attribute
|
int |
getIdentitySiteId()
Must return the value of a 'IdentitySiteId' attribute
|
ServerIdentityConfigurationImpl |
setIdentityName(String identityName) |
ServerIdentityConfigurationImpl |
setIdentityRole(String identityRole) |
ServerIdentityConfigurationImpl |
setIdentityServerId(int identityServerId) |
ServerIdentityConfigurationImpl |
setIdentitySiteId(int identitySiteId) |
public ServerIdentityConfigurationImpl()
public ServerIdentityConfigurationImpl(String identityName, int identityServerId, int identitySiteId, String identityRole)
identityName
- database identity nameidentityServerId
- identity server ididentitySiteId
- identity site ididentityRole
- identity roleIllegalArgumentException
- if identityName or identityRolepublic String getIdentityName()
ServerIdentityConfiguration
getIdentityName
in interface ServerIdentityConfiguration
public int getIdentityServerId()
ServerIdentityConfiguration
getIdentityServerId
in interface ServerIdentityConfiguration
public int getIdentitySiteId()
ServerIdentityConfiguration
getIdentitySiteId
in interface ServerIdentityConfiguration
public String getIdentityRole()
ServerIdentityConfiguration
getIdentityRole
in interface ServerIdentityConfiguration
public ServerIdentityConfigurationImpl setIdentityName(String identityName)
identityName
- the identity Name to setIllegalArgumentException
- if identityName is null or emptypublic ServerIdentityConfigurationImpl setIdentityServerId(int identityServerId)
identityServerId
- the identityServerId to setIllegalArgumentException
- if identityPlatformId < 0public ServerIdentityConfigurationImpl setIdentitySiteId(int identitySiteId)
identitySiteId
- the identitySiteId to setIllegalArgumentException
- if identityPlatformId < 0public ServerIdentityConfigurationImpl setIdentityRole(String identityRole)
identityRole
- the identityRole to setIllegalArgumentException
- if identityRole is null or emptyCopyright © 2018 Vitam. All rights reserved.