Class SecurityConfiguration

  • All Implemented Interfaces:
    IExtendedResource, IResource

    @OslcNamespace("http://www.sodius.com/ns/security#")
    @OslcResourceShape(title="Security Configuration Resource Shape",
                       describes="http://www.sodius.com/ns/security#SecurityConfiguration")
    public class SecurityConfiguration
    extends AbstractResource
    The security configuration resource defines the settings controlling the Content Security Policy (CSP) headers applied to OSLC responses.
    Since:
    2.0.0
    • Constructor Detail

      • SecurityConfiguration

        public SecurityConfiguration()
    • Method Detail

      • addWhitelist

        public void addWhitelist​(URI whitelist)
      • setWhitelist

        public void setWhitelist​(URI[] whitelist)
      • addFriend

        public void addFriend​(URI friend)
      • setFriends

        public void setFriends​(URI[] friends)
      • setWhitelistFriends

        public void setWhitelistFriends​(Boolean whitelistFriends)
      • setFrameAncestors

        public void setFrameAncestors​(Boolean frameAncestors)
      • setChildSrc

        public void setChildSrc​(Boolean childSrc)
      • setSameSite

        public void setSameSite​(Boolean sameSite)
      • setDefaultTrustManager

        public void setDefaultTrustManager​(Boolean defaultTrustManager)
      • setAdvancedLogin

        public void setAdvancedLogin​(Boolean advancedLogin)
      • addSharedCookie

        public void addSharedCookie​(String sharedCookie)
      • setSharedCookies

        public void setSharedCookies​(String[] sharedCookies)