Class SecurityHeader


  • public class SecurityHeader
    extends java.lang.Object
    This class represents a HTTP security header. It is mainly defined by a name and a value. The type is the resource on which the security is added to the HTTP request (html page or rest api). When the type is equals to page, it is mandatory to specify on which page (category) the header must be applied. The different categories are all pages, Back Office admin authenticated pages, Back Office logout page, Front Office admin authenticated pages and Front Office logout page
    • Constructor Summary

      Constructors 
      Constructor Description
      SecurityHeader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the description of the security header
      int getId()
      Returns the Id
      java.lang.String getName()
      Returns the name of the security header
      java.lang.String getPageCategory()
      Returns the page category of the security header
      java.util.List<SecurityHeaderConfigItem> getSecurityHeaderConfigItemList()
      List of config items of security header
      java.lang.String getType()
      Returns the type of the security header
      java.lang.String getValue()
      Returns the value of the security header
      boolean isActive()
      Indicates if the security is active or not
      void setActive​(boolean isActive)
      Activate or deactivate the security header
      void setDescription​(java.lang.String strDescription)
      Sets the description of the security header
      void setId​(int nId)
      Sets the Id
      void setName​(java.lang.String strName)
      Sets the name of the security header
      void setPageCategory​(java.lang.String strPageCategory)
      Sets the page category of the security header
      void setSecurityHeaderConfigItemList​(java.util.List<SecurityHeaderConfigItem> securityHeaderConfigItemList)
      Sets the list of config items of security header
      void setType​(java.lang.String strType)
      Sets the type of the security header
      void setValue​(java.lang.String strValue)
      Sets the value of the security header
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityHeader

        public SecurityHeader()
    • Method Detail

      • getId

        public int getId()
        Returns the Id
        Returns:
        The Id
      • setId

        public void setId​(int nId)
        Sets the Id
        Parameters:
        nId - The Id
      • getName

        public java.lang.String getName()
        Returns the name of the security header
        Returns:
        the security header name as a String
      • setName

        public void setName​(java.lang.String strName)
        Sets the name of the security header
        Parameters:
        strName - The security header name
      • getValue

        public java.lang.String getValue()
        Returns the value of the security header
        Returns:
        the security header value as a String
      • setValue

        public void setValue​(java.lang.String strValue)
        Sets the value of the security header
        Parameters:
        strValue - The security header value
      • getDescription

        public java.lang.String getDescription()
        Returns the description of the security header
        Returns:
        the security header description as a String
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Sets the description of the security header
        Parameters:
        strDescription - The security header description
      • getType

        public java.lang.String getType()
        Returns the type of the security header
        Returns:
        the security header type as a String
      • setType

        public void setType​(java.lang.String strType)
        Sets the type of the security header
        Parameters:
        strType - The security header type
      • getPageCategory

        public java.lang.String getPageCategory()
        Returns the page category of the security header
        Returns:
        the security header page category as a String
      • setPageCategory

        public void setPageCategory​(java.lang.String strPageCategory)
        Sets the page category of the security header
        Parameters:
        strPageCategory - The security header page category
      • isActive

        public boolean isActive()
        Indicates if the security is active or not
        Returns:
        true if the security header is active, false otherwise
      • setActive

        public void setActive​(boolean isActive)
        Activate or deactivate the security header
        Parameters:
        isActive - true if the security header is active, false otherwise
      • getSecurityHeaderConfigItemList

        public java.util.List<SecurityHeaderConfigItem> getSecurityHeaderConfigItemList()
        List of config items of security header
        Returns:
        List of config items of security header
      • setSecurityHeaderConfigItemList

        public void setSecurityHeaderConfigItemList​(java.util.List<SecurityHeaderConfigItem> securityHeaderConfigItemList)
        Sets the list of config items of security header
        Parameters:
        securityHeaderConfigItemList - The list of config items of security header