Class DefaultAttributeDefinition
java.lang.Object
org.apereo.cas.authentication.attribute.DefaultAttributeDefinition
- All Implemented Interfaces:
Serializable,Comparable<org.apereo.cas.authentication.attribute.AttributeDefinition>,org.apereo.cas.authentication.attribute.AttributeDefinition
public class DefaultAttributeDefinition
extends Object
implements org.apereo.cas.authentication.attribute.AttributeDefinition
This is
DefaultAttributeDefinition.- Since:
- 6.2.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefaultAttributeDefinition.DefaultAttributeDefinitionBuilder<C extends DefaultAttributeDefinition,B extends DefaultAttributeDefinition.DefaultAttributeDefinitionBuilder<C, B>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()intcompareTo(org.apereo.cas.authentication.attribute.AttributeDefinition definition) booleangetKey()getName()inthashCode()booleanbooleanisScoped()booleanresolveAttributeValues(org.apereo.cas.authentication.attribute.AttributeDefinitionResolutionContext context) voidsetAttribute(String attribute) voidsetCanonicalizationMode(String canonicalizationMode) voidsetEncrypted(boolean encrypted) voidsetFlattened(String flattened) voidvoidvoidsetPatternFormat(String patternFormat) voidsetPatterns(Map<String, String> patterns) voidsetScoped(boolean scoped) voidvoidsetSingleValue(boolean singleValue) toString()withAttribute(String attribute) withCanonicalizationMode(String canonicalizationMode) withEncrypted(boolean encrypted) withFlattened(String flattened) withPatternFormat(String patternFormat) withPatterns(Map<String, String> patterns) withScoped(boolean scoped) withScript(String script) withSingleValue(boolean singleValue) Methods inherited from interface org.apereo.cas.authentication.attribute.AttributeDefinition
toAttributeValue
-
Constructor Details
-
DefaultAttributeDefinition
-
DefaultAttributeDefinition
public DefaultAttributeDefinition()
-
-
Method Details
-
compareTo
public int compareTo(@Nonnull org.apereo.cas.authentication.attribute.AttributeDefinition definition) - Specified by:
compareToin interfaceComparable<org.apereo.cas.authentication.attribute.AttributeDefinition>
-
resolveAttributeValues
public List<Object> resolveAttributeValues(org.apereo.cas.authentication.attribute.AttributeDefinitionResolutionContext context) throws Throwable - Specified by:
resolveAttributeValuesin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition- Throws:
Throwable
-
builder
-
toString
-
equals
-
hashCode
public int hashCode() -
getKey
- Specified by:
getKeyin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
getName
- Specified by:
getNamein interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
isScoped
public boolean isScoped()- Specified by:
isScopedin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
isEncrypted
public boolean isEncrypted()- Specified by:
isEncryptedin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
getAttribute
- Specified by:
getAttributein interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
getPatternFormat
- Specified by:
getPatternFormatin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
getScript
- Specified by:
getScriptin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
getCanonicalizationMode
- Specified by:
getCanonicalizationModein interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
getPatterns
- Specified by:
getPatternsin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
getFlattened
- Specified by:
getFlattenedin interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
isSingleValue
public boolean isSingleValue()- Specified by:
isSingleValuein interfaceorg.apereo.cas.authentication.attribute.AttributeDefinition
-
setKey
-
setName
-
setScoped
public void setScoped(boolean scoped) -
setEncrypted
public void setEncrypted(boolean encrypted) -
setAttribute
-
setPatternFormat
-
setScript
-
setCanonicalizationMode
-
setPatterns
-
setFlattened
-
setSingleValue
public void setSingleValue(boolean singleValue) -
withKey
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScoped
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEncrypted
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAttribute
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPatternFormat
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScript
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCanonicalizationMode
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPatterns
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFlattened
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSingleValue
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-