java.lang.Object
java.lang.Record
cloud.piranha.core.api.WebXmlLoginConfig
- Record Components:
authMethod
- the auth method.realmName
- the realm name.formLoginPage
- the form login page.formErrorPage
- the form error page.
public record WebXmlLoginConfig(String authMethod, String realmName, String formLoginPage, String formErrorPage)
extends Record
A login-config inside of web.xml/web-fragment.xml.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
ConstructorDescriptionWebXmlLoginConfig
(String authMethod, String realmName, String formLoginPage, String formErrorPage) Creates an instance of aWebXmlLoginConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthMethod
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theformErrorPage
record component.Returns the value of theformLoginPage
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of therealmName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
WebXmlLoginConfig
public WebXmlLoginConfig(String authMethod, String realmName, String formLoginPage, String formErrorPage) Creates an instance of aWebXmlLoginConfig
record class.- Parameters:
authMethod
- the value for theauthMethod
record componentrealmName
- the value for therealmName
record componentformLoginPage
- the value for theformLoginPage
record componentformErrorPage
- the value for theformErrorPage
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
authMethod
Returns the value of theauthMethod
record component.- Returns:
- the value of the
authMethod
record component
-
realmName
Returns the value of therealmName
record component.- Returns:
- the value of the
realmName
record component
-
formLoginPage
Returns the value of theformLoginPage
record component.- Returns:
- the value of the
formLoginPage
record component
-
formErrorPage
Returns the value of theformErrorPage
record component.- Returns:
- the value of the
formErrorPage
record component
-