Package org.opensaml.security.criteria
Class KeyNameCriterion
java.lang.Object
org.opensaml.security.criteria.KeyNameCriterion
- All Implemented Interfaces:
Criterion
An implementation of
Criterion which specifies key name criteria.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the key name criteria.inthashCode()voidsetKeyName(String name) Set the key name criteria.toString()validateKeyName(String name) Validate key name criterion.
-
Field Details
-
keyName
Key name of resolved credentials.
-
-
Constructor Details
-
KeyNameCriterion
Constructor.- Parameters:
name- key name
-
-
Method Details
-
getKeyName
Get the key name criteria.- Returns:
- Returns the keyName.
-
setKeyName
Set the key name criteria.- Parameters:
name- The keyName to set.
-
toString
-
hashCode
public int hashCode() -
equals
-
validateKeyName
Validate key name criterion.- Parameters:
name- name to check- Returns:
- the input if non-null/empty
-