public class SecurityPolicySettings extends Object implements Serializable
| Constructor and Description |
|---|
SecurityPolicySettings() |
SecurityPolicySettings(SecurityPolicyType securityPolicyType,
String tokenAuthenticationKey,
Boolean disableServerSideUrlSigning,
OriginForwardingType originForwardingType,
String originPathPrefix,
OriginForwardingType mediaPlaylistOriginForwardingType,
String mediaPlaylistOriginPathPrefix) |
| 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 |
getMediaPlaylistOriginForwardingType()
Gets the mediaPlaylistOriginForwardingType value for this SecurityPolicySettings.
|
String |
getMediaPlaylistOriginPathPrefix()
Gets the mediaPlaylistOriginPathPrefix 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 |
setMediaPlaylistOriginForwardingType(OriginForwardingType mediaPlaylistOriginForwardingType)
Sets the mediaPlaylistOriginForwardingType value for this SecurityPolicySettings.
|
void |
setMediaPlaylistOriginPathPrefix(String mediaPlaylistOriginPathPrefix)
Sets the mediaPlaylistOriginPathPrefix 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, OriginForwardingType mediaPlaylistOriginForwardingType, String mediaPlaylistOriginPathPrefix)
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 for the master
playlist. 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 for the master
playlist. 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 OriginForwardingType getMediaPlaylistOriginForwardingType()
cdnConfigurationType of CdnConfigurationType.LIVE_STREAM_SOURCE_CONTENT,
is not
applicable to ingest locations, and is only applicable
to delivery media locations with the
securityPolicyType set to SecurityPolicyType.AKAMAI.
Valid options are OriginForwardingType#NONE or OriginForwardingType#ORIGIN_PATH.
This setting can only be used with CDN configurations
with a cdnConfigurationType of
CdnConfigurationType.LIVE_STREAM_SOURCE_CONTENT.
public void setMediaPlaylistOriginForwardingType(OriginForwardingType mediaPlaylistOriginForwardingType)
mediaPlaylistOriginForwardingType - * The type of origin forwarding used to support Akamai authentication
policies for media
playlists. This setting can only be used with CDN
configurations with a cdnConfigurationType of CdnConfigurationType.LIVE_STREAM_SOURCE_CONTENT,
is not
applicable to ingest locations, and is only applicable
to delivery media locations with the
securityPolicyType set to SecurityPolicyType.AKAMAI.
Valid options are OriginForwardingType#NONE or OriginForwardingType#ORIGIN_PATH.
This setting can only be used with CDN configurations
with a cdnConfigurationType of
CdnConfigurationType.LIVE_STREAM_SOURCE_CONTENT.
public String getMediaPlaylistOriginPathPrefix()
mediaPlaylistOriginForwardingType set to OriginForwardingType.CONVENTIONAL, and will
be set to null otherwise.public void setMediaPlaylistOriginPathPrefix(String mediaPlaylistOriginPathPrefix)
mediaPlaylistOriginPathPrefix - * The origin path prefix provided by the publisher for the media
playlists. This field is only
applicable for delivery media locations with the value
of mediaPlaylistOriginForwardingType 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 © 2022. All rights reserved.