Package com.sun.identity.policy
Class ReferralTypeManager
java.lang.Object
com.sun.identity.policy.ReferralTypeManager
Deprecated.
The class
ReferralTypeManager provides
methods to get a list of configured Referral
objects-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.Creates aReferralTypeManagerobjectprotectedDeprecated.Creates aReferralTypeManagerobject -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayName(String referralType) Deprecated.Gets the display name for the referral typegetI18NKey(String referralType) Deprecated.Returns the I18N key to be used to localize the display name for the referral type name.protected StringgetI18NPropertiesFileName(String referralType) Deprecated.Returns the I18N properties file name that should be used to localize display names for the given referral type.getReferral(String referralType) Deprecated.Returns an instance of theReferralgiven the referral type name.getReferralTypeName(Referral referral) Deprecated.Returns the type of theReferralimplementation.Deprecated.Returns a set of all valid referral type names defined by the policy service.Deprecated.Returns a set of valid referral type names configured for the organization.getViewBeanURL(Referral referral) Deprecated.Gets the view bean URL given the Referral
-
Constructor Details
-
ReferralTypeManager
Deprecated.Creates aReferralTypeManagerobject- Throws:
SSOException
-
ReferralTypeManager
Deprecated.Creates aReferralTypeManagerobject- Parameters:
pm-PolicyManagerto initialize theReferralTypeManagerwith
-
-
Method Details
-
getReferralTypeNames
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 theSSOTokenused to create thePolicyManagerhas become invalidPolicyException- for any other abnormal condition
-
getSelectedReferralTypeNames
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 theSSOTokenused to create thePolicyManagerhas become invalidPolicyException- for any other abnormal condition
-
getReferralTypeName
Deprecated.Returns the type of theReferralimplementation. 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,SubOrgReferralReturnsnullif not present.
-
getI18NPropertiesFileName
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
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
Deprecated.Gets the display name for the referral type- Parameters:
referralType- referral type- Returns:
- display name for the referral type
-
getReferral
Deprecated.Returns an instance of theReferralgiven the referral type name.- Parameters:
referralType- type of referral.- Returns:
- an instance of the
Referralgiven the referral type name. - Throws:
NameNotFoundException- if theReferralfor thereferralTypename is not foundPolicyException- for any other abnormal condition
-
getViewBeanURL
Deprecated.Gets the view bean URL given the Referral- Parameters:
referral- referral for which to get the view bean URL- Returns:
- view bean URL defined for the referral plugin in the policy
service
PluginSchema
-
com.sun.identity.entitlementinstead asEntitlementhas replacedPolicy.