Record Class ApplicationManifest.SecurityDeclaration
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ApplicationManifest.SecurityDeclaration
- Record Components:
trustDomain- application trust domainconfidential- whether encrypted/authenticated transport is requiredmetadata- additional safe security metadata
- Enclosing class:
ApplicationManifest
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityDeclaration(String trustDomain, boolean confidential, Map<String, String> metadata) Creates immutable security metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theconfidentialrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustDomainrecord component.
-
Constructor Details
-
SecurityDeclaration
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
trustDomain
Returns the value of thetrustDomainrecord component.- Returns:
- the value of the
trustDomainrecord component
-
confidential
public boolean confidential()Returns the value of theconfidentialrecord component.- Returns:
- the value of the
confidentialrecord component
-
metadata
-