Package com.sun.identity.policy
Class ReferralTypeManager
- java.lang.Object
-
- com.sun.identity.policy.ReferralTypeManager
-
@SupportedAll @Deprecated public class ReferralTypeManager extends Object
Deprecated.As of OpenSSO Express 8.0, usecom.sun.identity.entitlement
instead asEntitlement
has replacedPolicy
.The classReferralTypeManager
provides methods to get a list of configuredReferral
objects
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReferralTypeManager()
Deprecated.Creates aReferralTypeManager
objectprotected
ReferralTypeManager(PolicyManager pm)
Deprecated.Creates aReferralTypeManager
object
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDisplayName(String referralType)
Deprecated.Gets the display name for the referral typeString
getI18NKey(String referralType)
Deprecated.Returns the I18N key to be used to localize the display name for the referral type name.protected String
getI18NPropertiesFileName(String referralType)
Deprecated.Returns the I18N properties file name that should be used to localize display names for the given referral type.Referral
getReferral(String referralType)
Deprecated.Returns an instance of theReferral
given the referral type name.String
getReferralTypeName(Referral referral)
Deprecated.Returns the type of theReferral
implementation.Set
getReferralTypeNames()
Deprecated.Returns a set of all valid referral type names defined by the policy service.Set
getSelectedReferralTypeNames()
Deprecated.Returns a set of valid referral type names configured for the organization.String
getViewBeanURL(Referral referral)
Deprecated.Gets the view bean URL given the Referral
-
-
-
Constructor Detail
-
ReferralTypeManager
protected ReferralTypeManager() throws SSOException
Deprecated.Creates aReferralTypeManager
object- Throws:
SSOException
-
ReferralTypeManager
protected ReferralTypeManager(PolicyManager pm)
Deprecated.Creates aReferralTypeManager
object- Parameters:
pm
-PolicyManager
to initialize theReferralTypeManager
with
-
-
Method Detail
-
getReferralTypeNames
public Set getReferralTypeNames() throws SSOException, PolicyException
Deprecated.Returns a set of all valid referral type names defined by the policy service. Examples arePeerOrgReferral
,SubOrgReferral
- Returns:
- a set of all valid referral type names defined by the policy service.
- Throws:
SSOException
- if theSSOToken
used to create thePolicyManager
has become invalidPolicyException
- for any other abnormal condition
-
getSelectedReferralTypeNames
public Set getSelectedReferralTypeNames() throws SSOException, PolicyException
Deprecated.Returns a set of valid referral type names configured for the organization. Examples arePeerOrgReferral
,SubOrgReferral
- Returns:
- a set of valid referral type names configured for the organization.
- Throws:
SSOException
- if theSSOToken
used to create thePolicyManager
has become invalidPolicyException
- for any other abnormal condition
-
getReferralTypeName
public String getReferralTypeName(Referral referral)
Deprecated.Returns the type of theReferral
implementation. For example,PeerOrgReferral
,SubOrgReferral
- Parameters:
referral
- referral object for which this method will return its associated type- Returns:
- type of the referral, e.g.,
PeerOrgReferral
,SubOrgReferral
Returnsnull
if not present.
-
getI18NPropertiesFileName
protected String getI18NPropertiesFileName(String referralType)
Deprecated.Returns the I18N properties file name that should be used to localize display names for the given referral type.- Parameters:
referralType
- referral type name- Returns:
- i18n properties file name
-
getI18NKey
public String getI18NKey(String referralType)
Deprecated.Returns the I18N key to be used to localize the display name for the referral type name.- Parameters:
referralType
- referral type name- Returns:
- i18n key to obtain the display name
-
getDisplayName
public String getDisplayName(String referralType)
Deprecated.Gets the display name for the referral type- Parameters:
referralType
- referral type- Returns:
- display name for the referral type
-
getReferral
public Referral getReferral(String referralType) throws NameNotFoundException, PolicyException
Deprecated.Returns an instance of theReferral
given the referral type name.- Parameters:
referralType
- type of referral.- Returns:
- an instance of the
Referral
given the referral type name. - Throws:
NameNotFoundException
- if theReferral
for thereferralType
name is not foundPolicyException
- for any other abnormal condition
-
-