public class SecurityConfiguration extends Object implements oracle.fmwplatform.envspec.common.ParentContainerWithVariables, oracle.fmwplatform.envspec.common.ContainerAware<Domain>, oracle.fmwplatform.envspec.common.Tunable<Domain>, oracle.fmwplatform.envspec.common.EntityWithId
Modifier and Type | Field and Description |
---|---|
static String |
RESERVED_TOKEN_SECURITY_CONFIGURATION |
Constructor and Description |
---|
SecurityConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
addAllRealms(Collection<Realm> realms)
Add all realms to the SecurityConfiguration.
|
boolean |
addRealm(Realm realm)
Adds the realm provided to the list of realms in this SecurityConfiguration.
|
boolean |
addSetting(String alias,
String value)
Convenience method to add a setting with the given alias and value, to the tuning parameters for this
ServerBinding.
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
String |
getDefaultRealm()
Returns the defaultRealm of this SecurityConfiguration.
|
Map<String,String> |
getEffectiveVariables()
Provides the effective list of variables that apply to the tuning parameters.
|
String |
getId()
Returns the id that is used to reference this SecurityConfiguration.
|
String |
getName()
Returns the name of this SecurityConfiguration.
|
String |
getNodeManagerCredentialRef()
Returns the nodeManagerCredentialRef of this SecurityConfiguration.
|
Domain |
getParent()
Returns the object that contains this entity
|
Realm |
getRealmByName(String realmName)
Returns the realm by name from list of realms in this SecurityConfiguration.
|
List<Realm> |
getRealms()
Returns the list of realms in this SecurityConfiguration.
|
Map<String,String> |
getReservedKeywords()
Returns a map containing any reserved keywords and values for variable substitution for this entity
|
TuningParameters |
getTuningParameters()
Returns the TuningParameters.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
boolean |
removeRealm(Realm realm)
Remove the realm in list of realms from this SecurityConfiguration.
|
SecurityConfiguration |
removeRealms()
Removes the list of realms in this SecurityConfiguration.
|
SecurityConfiguration |
setDefaultRealm(String defaultRealm)
Sets the defaultRealm of the SecurityConfiguration.
|
SecurityConfiguration |
setId(String id)
Sets the id that is used when referencing this SecurityConfiguration.
|
SecurityConfiguration |
setName(String name)
Sets the name of the SecurityConfiguration.
|
SecurityConfiguration |
setNodeManagerCredentialRef(String nodeManagerCredentialRef)
Sets the nodeManagerCredentialRef of the SecurityConfiguration.
|
SecurityConfiguration |
setParent(Domain containerDomain)
Sets the container object that contains this.
|
SecurityConfiguration |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this SecurityConfiguration or null if no TuningParameters.
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public static final String RESERVED_TOKEN_SECURITY_CONFIGURATION
public Domain getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>
public SecurityConfiguration setParent(Domain containerDomain)
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>
containerDomain
- the parent containerpublic Map<String,String> getReservedKeywords()
oracle.fmwplatform.envspec.common.ReservedKeywordProvider
getReservedKeywords
in interface oracle.fmwplatform.envspec.common.ReservedKeywordProvider
public String getVariableValue(String key)
getVariableValue
in interface oracle.fmwplatform.envspec.common.Substitutable
key
- the key of the variable to be checkedpublic String substitute(String text)
substitute
in interface oracle.fmwplatform.envspec.common.Substitutable
text
- the original textpublic Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
getEffectiveVariables
in interface oracle.fmwplatform.envspec.common.ParentContainerWithVariables
FMWEnvSpecException
- When any tuning parameters references cannot be readpublic String getId()
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public SecurityConfiguration setId(String id)
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id that is used when referencing this SecurityConfiguration.public String getName()
getName
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
public SecurityConfiguration setName(String name)
name
- the name of the SecurityConfigurationpublic String getNodeManagerCredentialRef()
public SecurityConfiguration setNodeManagerCredentialRef(String nodeManagerCredentialRef)
nodeManagerCredentialRef
- the nodeManagerCredentialRef of the SecurityConfigurationpublic String getDefaultRealm()
public SecurityConfiguration setDefaultRealm(String defaultRealm)
defaultRealm
- the name of the SecurityConfigurationpublic boolean addRealm(Realm realm)
realm
- the realm to add to the list of
realms in this SecurityConfigurationCollection.add(E)
)public boolean addAllRealms(Collection<Realm> realms)
realms
- the list of realms to add to this SecurityConfiguration.Collection.add(E)
)public List<Realm> getRealms()
public Realm getRealmByName(String realmName)
realmName
- the realm name from list of
realms in this SecurityConfiguration.public boolean removeRealm(Realm realm)
realm
- the securityConfiguration from list of SecurityConfigurations in this domainpublic SecurityConfiguration removeRealms()
public TuningParameters getTuningParameters()
getTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
public SecurityConfiguration setTuningParameters(TuningParameters tuningParameters)
setTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
tuningParameters
- the TuningParameters for this SecurityConfiguration or null if no TuningParameterspublic oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
public boolean addSetting(String alias, String value)
addSetting
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
alias
- the alias of a Settingvalue
- the value of a Settingpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()