Package com.sun.identity.policy.plugins
Class AuthenticatedUsers
- java.lang.Object
-
- com.sun.identity.policy.plugins.AuthenticatedUsers
-
@Deprecated public class AuthenticatedUsers extends Object implements Subject
Deprecated.UseAuthenticatedUsersinstead.This subject applies to all users with validSSOToken.
-
-
Constructor Summary
Constructors Constructor Description AuthenticatedUsers()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidAuthenticatedUser()Deprecated.Default ConstructorObjectclone()Deprecated.Creates and returns a copy of this object.booleanequals(Object o)Deprecated.Indicates whether some other object is "equal to" this one.StringgetDisplayNameForValue(String value, Locale locale)Deprecated.This method does nothing as there are no values to display for this subject.ValidValuesgetValidValues(SSOToken token)Deprecated.Returns an empty list as possible values.ValidValuesgetValidValues(SSOToken token, String pattern)Deprecated.Returns an empty list as possible values.SetgetValues()Deprecated.Returns an empty collection as value.SyntaxgetValueSyntax(SSOToken token)Deprecated.Returns the syntax of the subject type.inthashCode()Deprecated.Return a hash code for thisAuthenticatedUsers.voidinitialize(Map configParams)Deprecated.Initialize the subject.booleanisMember(SSOToken token)Deprecated.Determines if the user belongs to theAuthenticatedUsersobject.voidsetValues(Set names)Deprecated.This method does nothing for this subject as there are no values to set for this subject.
-
-
-
Method Detail
-
AuthenticatedUser
public void AuthenticatedUser()
Deprecated.Default Constructor
-
initialize
public void initialize(Map configParams)
Deprecated.Initialize the subject. No properties are required for this subject.- Specified by:
initializein interfaceSubject- Parameters:
configParams- configuration information
-
getValueSyntax
public Syntax getValueSyntax(SSOToken token)
Deprecated.Returns the syntax of the subject type.- Specified by:
getValueSyntaxin interfaceSubject- Parameters:
token- theSSOToken. Not used for this subject.- Returns:
- Syntax for this subject.
- See Also:
Syntax
-
getValidValues
public ValidValues getValidValues(SSOToken token)
Deprecated.Returns an empty list as possible values.- Specified by:
getValidValuesin interfaceSubject- Parameters:
token- theSSOToken- Returns:
ValidValuesobject with empty list.
-
getValidValues
public ValidValues getValidValues(SSOToken token, String pattern)
Deprecated.Returns an empty list as possible values.- Specified by:
getValidValuesin interfaceSubject- Parameters:
token- theSSOTokenpattern- the pattern to match in valid values. Ignored for this subject- Returns:
ValidValuesobject with empty list.
-
getDisplayNameForValue
public String getDisplayNameForValue(String value, Locale locale)
Deprecated.This method does nothing as there are no values to display for this subject.- Specified by:
getDisplayNameForValuein interfaceSubject- Parameters:
value- one of the valid value for the pluginlocale- locale for which the display name must be customized- Returns:
- the display name for the value for the given locale.
-
getValues
public Set getValues()
Deprecated.Returns an empty collection as value.
-
setValues
public void setValues(Set names)
Deprecated.This method does nothing for this subject as there are no values to set for this subject.
-
isMember
public boolean isMember(SSOToken token) throws SSOException
Deprecated.Determines if the user belongs to theAuthenticatedUsersobject.- Specified by:
isMemberin interfaceSubject- Parameters:
token- SSOToken of the user- Returns:
trueif the user SSOToken is valid.falseotherwise.- Throws:
SSOException- if error occurs while validating the token.
-
equals
public boolean equals(Object o)
Deprecated.Indicates whether some other object is "equal to" this one.
-
clone
public Object clone()
Deprecated.Creates and returns a copy of this object.
-
-