Class AuthenticationAttributeReleaseProperties
java.lang.Object
org.apereo.cas.configuration.model.core.authentication.AuthenticationAttributeReleaseProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-validation",
automated=true)
public class AuthenticationAttributeReleaseProperties
extends Object
implements Serializable
Authentication attribute release properties.
- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList of authentication attributes that should never be released.List of authentication attributes that should be the only ones released.boolean
Whether authentication or protocol attributes should be released to clients.setEnabled
(boolean enabled) Whether authentication or protocol attributes should be released to clients.setNeverRelease
(List<String> neverRelease) List of authentication attributes that should never be released.setOnlyRelease
(List<String> onlyRelease) List of authentication attributes that should be the only ones released.
-
Constructor Details
-
AuthenticationAttributeReleaseProperties
public AuthenticationAttributeReleaseProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether authentication or protocol attributes should be released to clients. This flag specifically address non-principal attributes, or otherwise attributes that carry metadata about the authentication event itself that are not strictly tied to a principal or person data. The change here should consider such attributes regardless of the specific protocol or authentication flow (CAS, OIDC, etc). -
getNeverRelease
List of authentication attributes that should never be released. -
getOnlyRelease
List of authentication attributes that should be the only ones released. An empty list indicates all attributes should be released. -
setEnabled
Whether authentication or protocol attributes should be released to clients. This flag specifically address non-principal attributes, or otherwise attributes that carry metadata about the authentication event itself that are not strictly tied to a principal or person data. The change here should consider such attributes regardless of the specific protocol or authentication flow (CAS, OIDC, etc).- Returns:
this
.
-
setNeverRelease
List of authentication attributes that should never be released.- Returns:
this
.
-
setOnlyRelease
List of authentication attributes that should be the only ones released. An empty list indicates all attributes should be released.- Returns:
this
.
-