public class SecurityPolicySettings extends Object implements Serializable
| Constructor and Description |
|---|
SecurityPolicySettings() |
SecurityPolicySettings(SecurityPolicyType securityPolicyType,
String tokenAuthenticationKey,
Boolean disableServerSideUrlSigning,
OriginForwardingType originForwardingType,
String originPathPrefix) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Boolean |
getDisableServerSideUrlSigning()
Gets the disableServerSideUrlSigning value for this SecurityPolicySettings.
|
OriginForwardingType |
getOriginForwardingType()
Gets the originForwardingType value for this SecurityPolicySettings.
|
String |
getOriginPathPrefix()
Gets the originPathPrefix value for this SecurityPolicySettings.
|
SecurityPolicyType |
getSecurityPolicyType()
Gets the securityPolicyType value for this SecurityPolicySettings.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
String |
getTokenAuthenticationKey()
Gets the tokenAuthenticationKey value for this SecurityPolicySettings.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setDisableServerSideUrlSigning(Boolean disableServerSideUrlSigning)
Sets the disableServerSideUrlSigning value for this SecurityPolicySettings.
|
void |
setOriginForwardingType(OriginForwardingType originForwardingType)
Sets the originForwardingType value for this SecurityPolicySettings.
|
void |
setOriginPathPrefix(String originPathPrefix)
Sets the originPathPrefix value for this SecurityPolicySettings.
|
void |
setSecurityPolicyType(SecurityPolicyType securityPolicyType)
Sets the securityPolicyType value for this SecurityPolicySettings.
|
void |
setTokenAuthenticationKey(String tokenAuthenticationKey)
Sets the tokenAuthenticationKey value for this SecurityPolicySettings.
|
String |
toString() |
public SecurityPolicySettings()
public SecurityPolicySettings(SecurityPolicyType securityPolicyType, String tokenAuthenticationKey, Boolean disableServerSideUrlSigning, OriginForwardingType originForwardingType, String originPathPrefix)
public SecurityPolicyType getSecurityPolicyType()
public void setSecurityPolicyType(SecurityPolicyType securityPolicyType)
securityPolicyType - * Type of security policy. This determines which other fields
should be populated. This value is
required for a valid security policy.public String getTokenAuthenticationKey()
securityPolicyType is equal to SecurityPolicyType.AKAMAI and will be set to null
otherwise.public void setTokenAuthenticationKey(String tokenAuthenticationKey)
tokenAuthenticationKey - * Shared security key used to generate the Akamai HMAC token
for authenticating requests. This
field is only applicable when the value of securityPolicyType is equal to SecurityPolicyType.AKAMAI and will be set to null
otherwise.public Boolean getDisableServerSideUrlSigning()
tokenAuthenticationKey on the
server. This is only applicable for delivery media
locations that have token authentication
enabled.public void setDisableServerSideUrlSigning(Boolean disableServerSideUrlSigning)
disableServerSideUrlSigning - * Whether the segment URLs should be signed using the tokenAuthenticationKey on the
server. This is only applicable for delivery media
locations that have token authentication
enabled.public OriginForwardingType getOriginForwardingType()
securityPolicyType set to SecurityPolicyType.AKAMAI.
If set elsewhere it
will be reset to null.public void setOriginForwardingType(OriginForwardingType originForwardingType)
originForwardingType - * The type of origin forwarding used to support Akamai authentication
policies. This field is
not applicable to ingest locations, and is only applicable
to delivery media locations with
the securityPolicyType set to SecurityPolicyType.AKAMAI.
If set elsewhere it
will be reset to null.public String getOriginPathPrefix()
originForwardingType
set to OriginForwardingType.CONVENTIONAL, and will be set
to null otherwise.public void setOriginPathPrefix(String originPathPrefix)
originPathPrefix - * The origin path prefix provided by the publisher. This field
is only applicable for delivery
media locations with the value of originForwardingType
set to OriginForwardingType.CONVENTIONAL, and will be set
to null otherwise.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2018. All Rights Reserved.