Class UrlSigningServiceImpl

java.lang.Object
org.opencastproject.security.urlsigning.service.impl.UrlSigningServiceImpl
All Implemented Interfaces:
org.opencastproject.security.urlsigning.service.UrlSigningService

public class UrlSigningServiceImpl extends Object implements org.opencastproject.security.urlsigning.service.UrlSigningService
  • Constructor Details

    • UrlSigningServiceImpl

      public UrlSigningServiceImpl()
  • Method Details

    • accepts

      public boolean accepts(String baseUrl)
      Specified by:
      accepts in interface org.opencastproject.security.urlsigning.service.UrlSigningService
    • sign

      public String sign(String baseUrl, Long validUntilDuration, Long validFromDuration, String ipAddr) throws org.opencastproject.security.urlsigning.exception.UrlSigningException
      Specified by:
      sign in interface org.opencastproject.security.urlsigning.service.UrlSigningService
      Throws:
      org.opencastproject.security.urlsigning.exception.UrlSigningException
    • sign

      public String sign(String baseUrl, org.joda.time.DateTime validUntil, org.joda.time.DateTime validFrom, String ipAddr) throws org.opencastproject.security.urlsigning.exception.UrlSigningException
      Specified by:
      sign in interface org.opencastproject.security.urlsigning.service.UrlSigningService
      Throws:
      org.opencastproject.security.urlsigning.exception.UrlSigningException