Class SecurityEndpoint
java.lang.Object
org.opencastproject.external.endpoint.SecurityEndpoint
- All Implemented Interfaces:
org.osgi.service.cm.ManagedService
@Path("/api/security")
@Produces({"application/json","application/v1.0.0+json","application/v1.1.0+json","application/v1.2.0+json","application/v1.3.0+json","application/v1.4.0+json","application/v1.5.0+json","application/v1.6.0+json","application/v1.7.0+json","application/v1.8.0+json","application/v1.9.0+json","application/v1.10.0+json","application/v1.11.0+json"})
public class SecurityEndpoint
extends Object
implements org.osgi.service.cm.ManagedService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final longThe default time before a piece of signed content expires. 2 Hours.protected static final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
URL_SIGNING_EXPIRES_DURATION_SECONDS_KEY
- See Also:
-
DEFAULT_URL_SIGNING_EXPIRE_DURATION
protected static final long DEFAULT_URL_SIGNING_EXPIRE_DURATIONThe default time before a piece of signed content expires. 2 Hours.- See Also:
-
-
Constructor Details
-
SecurityEndpoint
public SecurityEndpoint()
-
-
Method Details
-
updated
public void updated(Dictionary<String, ?> properties) throws org.osgi.service.cm.ConfigurationException- Specified by:
updatedin interfaceorg.osgi.service.cm.ManagedService- Throws:
org.osgi.service.cm.ConfigurationException
-
signUrl
-