Class JaxbCfgHibernateConfiguration.JaxbCfgSecurity

java.lang.Object
org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSecurity
Enclosing class:
JaxbCfgHibernateConfiguration

public static class JaxbCfgHibernateConfiguration.JaxbCfgSecurity extends Object
<p>Java class for anonymous complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="grant" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="actions" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="entity-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="context" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> }</pre>
  • Field Details

  • Constructor Details

    • JaxbCfgSecurity

      public JaxbCfgSecurity()
  • Method Details

    • getGrant

      Gets the value of the grant property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the grant property.

      For example, to add a new item, do as follows:

      getGrant().add(newItem);
      

      Objects of the following type(s) are allowed in the list JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant

      Returns:
      The value of the grant property.
    • getContext

      public String getContext()
      Gets the value of the context property.
      Returns:
      possible object is String
    • setContext

      public void setContext(String value)
      Sets the value of the context property.
      Parameters:
      value - allowed object is String