Constructor and Description |
---|
PrivilegeSubject()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
String |
getDisplayNameForValue(String value,
Locale locale)
Returns the display name for property value.
|
ValidValues |
getValidValues(SSOToken token)
Returns an empty list as possible values.
|
ValidValues |
getValidValues(SSOToken token,
String pattern)
Returns an empty list as possible values.
|
Set |
getValues()
Returns values
|
Syntax |
getValueSyntax(SSOToken token)
Return the syntax for displaying the property value.
|
int |
hashCode()
Return a hash code for this
AuthenticatedUsers . |
void |
initialize(Map configParams)
Initialize the subject.
|
boolean |
isMember(SSOToken token)
Determines if the user belongs to this instance
of the
Subject object. |
void |
setValues(Set values)
Set values.
|
public void initialize(Map configParams)
initialize
in interface Subject
configParams
- configuration informationpublic Syntax getValueSyntax(SSOToken token)
getValueSyntax
in interface Subject
token
- SSO tokenSyntax
public ValidValues getValidValues(SSOToken token)
getValidValues
in interface Subject
token
- the SSOToken
ValidValues
object with empty list.public ValidValues getValidValues(SSOToken token, String pattern)
getValidValues
in interface Subject
token
- the SSOToken
pattern
- the pattern to match in valid values. Ignored for this
subjectValidValues
object with empty list.public String getDisplayNameForValue(String value, Locale locale)
getDisplayNameForValue
in interface Subject
value
- Property value.locale
- Locale.public Set getValues()
public void setValues(Set values)
public boolean isMember(SSOToken token) throws SSOException
Subject
Subject
object.
For example, a Role implementation
would return true
if the user belongs
the specified role; false
otherwise.isMember
in interface Subject
token
- single-sign-on token of the usertrue
if the user is member of the
given subject; false
otherwise.SSOException
- if SSO token is not validpublic boolean equals(Object o)
public Object clone()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.