Class ZeroPageLoginConfig
- java.lang.Object
-
- com.sun.identity.authentication.client.ZeroPageLoginConfig
-
public final class ZeroPageLoginConfig extends Object
Interface to different methods for configuring Zero Page Login (ZPL). For local authentication, this uses the LoginState, otherwise (DAS) it uses system properties.
-
-
Constructor Summary
Constructors Constructor Description ZeroPageLoginConfig(boolean enabled, Set<String> whitelist, boolean allowWithoutReferer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Set<String>getRefererWhitelist()Returns the whitelist of allowed Referer URLs.inthashCode()booleanisAllowedWithoutReferer()Indicates whether ZPL requests should be allowed if the request does not include a Referer header.booleanisEnabled()Indicates whether ZPL is enabled at all.org.forgerock.json.JsonValuetoJson()StringtoString()
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
Indicates whether ZPL is enabled at all.
-
getRefererWhitelist
public Set<String> getRefererWhitelist()
Returns the whitelist of allowed Referer URLs.
-
isAllowedWithoutReferer
public boolean isAllowedWithoutReferer()
Indicates whether ZPL requests should be allowed if the request does not include a Referer header.
-
toJson
public org.forgerock.json.JsonValue toJson()
-
-