public class WebServicesClients extends Object implements Subject
Constructor and Description |
---|
WebServicesClients() |
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 value as is like other subjects.
|
ValidValues |
getValidValues(SSOToken token)
Returns certificate subject DNs in the KeyStore as possible values.
|
ValidValues |
getValidValues(SSOToken token,
String pattern)
Returns certificate subject DNs in the KeyStore as possible values.
|
Set |
getValues()
Returns selected web services clients for this subject
|
Syntax |
getValueSyntax(SSOToken token)
Returns the syntax of the subject type.
|
int |
hashCode()
Return a hash code for this
WebServicesClients . |
void |
initialize(Map configParams)
Initialize the subject.
|
boolean |
isMember(SSOToken token)
Determines if the token belongs to the
WebServicesClients object. |
void |
setValues(Set names)
Sets the selected web services clients for this subject.
|
void |
WebServicesClients()
Default Constructor
|
public void WebServicesClients()
public void initialize(Map configParams)
initialize
in interface Subject
configParams
- configurational informationpublic Syntax getValueSyntax(SSOToken token)
getValueSyntax
in interface Subject
token
- the SSOToken
.Syntax
public ValidValues getValidValues(SSOToken token) throws SSOException, PolicyException
getValidValues
in interface Subject
token
- the SSOToken
ValidValues
object wiht certificate subject DNs.SSOException
- if SSO token is not validPolicyException
- if unable to get the list of valid names.public ValidValues getValidValues(SSOToken token, String pattern) throws SSOException, PolicyException
getValidValues
in interface Subject
token
- the SSOToken
pattern
- the pattern to match with valid values.ValidValues
object wiht certificate subject DNs.SSOException
- if SSO token is not validPolicyException
- if unable to get the list of valid names.public String getDisplayNameForValue(String value, Locale locale)
getDisplayNameForValue
in interface Subject
value
- the input valuelocale
- the locale in which value should be returned.public Set getValues()
public void setValues(Set names) throws InvalidNameException
setValues
in interface Subject
names
- the list of clients to set in the subject.InvalidNameException
- if the given names are not validpublic boolean isMember(SSOToken token) throws SSOException, PolicyException
WebServicesClients
object.isMember
in interface Subject
token
- SSOToken of the usertrue
if the subject contains one of the web service
client's certificate DNs(client ceritifcates, root CA certificate).
false
otherwise.SSOException
- if SSO token is not validPolicyException
- if an error occured while checking if the
user is a member of this subjectpublic boolean equals(Object o)
public Object clone()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.