Class ParameterStore
- java.lang.Object
-
- de.xima.fc.security.pac4j.passthrough.ParameterStore
-
- All Implemented Interfaces:
Serializable
public final class ParameterStore extends Object implements Serializable
Serializable session payload containing captured form login parameters, indexed by pac4j client name.- Since:
- 8.6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPassthroughParameter(org.pac4j.core.client.Client client, ParameterValue param)Records a captured value, deduplicating identical name/value pairs.booleanequals(Object o)Set<ParameterValue>getPassthroughParameter(org.pac4j.core.client.Client client)Returns the captured values for a client.Map<String,Set<ParameterValue>>getPassthroughParameters()Values per client; insertion order is retained within each client's values.inthashCode()booleanisEmpty()Indicates whether no client has captured parameters.StringtoString()
-
-
-
Method Detail
-
getPassthroughParameter
public Set<ParameterValue> getPassthroughParameter(org.pac4j.core.client.Client client)
Returns the captured values for a client.- Parameters:
client- the client, ornullwhen none is selected- Returns:
- the stored values, or an empty set when no values exist
-
addPassthroughParameter
public void addPassthroughParameter(org.pac4j.core.client.Client client, ParameterValue param)Records a captured value, deduplicating identical name/value pairs.- Parameters:
client- the client that will receive the valueparam- the captured target name and value
-
isEmpty
public boolean isEmpty()
Indicates whether no client has captured parameters.- Returns:
- whether the store is empty
-
getPassthroughParameters
public Map<String,Set<ParameterValue>> getPassthroughParameters()
Values per client; insertion order is retained within each client's values.
-
-