Class AuthRequirement
- java.lang.Object
-
- com.adobe.cq.sites.ui.models.admin.security.AuthRequirement
-
@Model(adaptables=SlingHttpServletRequest.class) public final class AuthRequirement extends java.lang.Object
Representation of the authentication requirement field, used to force authentication to access a given content resource. The authentication requirement could be enabled / disabled from the UI (for instance in the page properties view) The content resource is derived from the content path attribute of the request.
-
-
Constructor Summary
Constructors Constructor Description AuthRequirement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description of the authentication requirement fieldjava.lang.String
getLabel()
Returns the label of the authentication requirement fieldboolean
isAuthRequired()
Indicates if there is authentication required to access the content resource
-
-
-
Method Detail
-
isAuthRequired
public boolean isAuthRequired()
Indicates if there is authentication required to access the content resource- Returns:
-
getLabel
public java.lang.String getLabel()
Returns the label of the authentication requirement field- Returns:
-
getDescription
public java.lang.String getDescription()
Returns the description of the authentication requirement field- Returns:
-
-