Constructor and Description |
---|
AuthenticatedSharedAgents()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates and returns a copy of this object.
|
String |
getDisplayNameForValue(String value,
Locale locale)
This method does nothing as there are no values to display for this
subject.
|
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 an empty collection as value.
|
Syntax |
getValueSyntax(SSOToken token)
Returns the syntax of the subject type.
|
int |
hashCode()
Return a hash code for this
AuthenticatedSharedAgents . |
void |
initialize(Map configParams)
Initialize the subject.
|
boolean |
isMember(SSOToken token)
Determines if the agent belongs to the
AuthenticatedSharedAgents object. |
protected boolean |
isSharedAgent(SSOToken token,
String userName,
String userDNUnivId,
String rlmName)
Checks if distinguished user name is a shared user/agent
if returns true if so.
|
void |
setValues(Set names)
This method does nothing for this subject as there are no values to set
for this subject.
|
public void initialize(Map configParams)
initialize
in interface Subject
configParams
- configurational informationpublic Syntax getValueSyntax(SSOToken token)
getValueSyntax
in interface Subject
token
- the SSOToken
. Not used for this subject.Syntax
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
- one of the valid value for the pluginlocale
- locale for which the display name must be customizedpublic Set getValues()
public void setValues(Set names)
public boolean isMember(SSOToken token) throws SSOException
AuthenticatedSharedAgents
object.isMember
in interface Subject
token
- SSOToken of the agenttrue
if the agent SSOToken is valid.
false
otherwise.SSOException
- if error occurs while validating the token.public Object clone()
public int hashCode()
AuthenticatedSharedAgents
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.