Class SAMLv2ModelImpl
- java.lang.Object
-
- com.sun.identity.console.base.model.AMModelBase
-
- com.sun.identity.console.federation.model.EntityModelImpl
-
- com.sun.identity.console.federation.model.SAMLv2ModelImpl
-
- All Implemented Interfaces:
AMAdminConstants,AMModel,EntityModel,SAMLv2Model
public class SAMLv2ModelImpl extends EntityModelImpl implements SAMLv2Model
-
-
Field Summary
-
Fields inherited from class com.sun.identity.console.base.model.AMModelBase
debug, locale, locationDN
-
Fields inherited from interface com.sun.identity.console.base.model.AMAdminConstants
ADMIN_CONSOLE_SERVICE, ADMIN_DISPLAY_ATTRIBUTE, ADMIN_DISPLAY_READONLY_ATTRIBUTE, AGENT_REPOSITORY_LOCATION_ATTR, AGENTS_NODE_ID, AMSDK_DEBUG_FILENAME, ATTR_USER_OLD_PASSWORD, ATTR_USER_PASSWORD, ATTR_USER_RESOURCE_OFFERING, ATTR_USER_STATUS, AUTH_CONFIG_SERVICE, CDM_CONTENT_TYPE_PROPERTY_NAME, CHOICES, CONFIGURATION_NODE_ID, CONSOLE_DEBUG_FILENAME, CONSOLE_LOCATION_DN, CONSOLE_ORG_CUSTOM_JSP_DIRECTORY, CONSOLE_UM_ENABLED_ATTR, CONSOLE_USER_ATTRS_SEARCH_KEY, CONSOLE_USER_SEARCH_KEY, CONSOLE_USER_SEARCH_RETURN_KEY, CORE_AUTH_SERVICE, CURRENT_ORG, CURRENT_PROFILE, CURRENT_REALM, DEFAULT_RB, DEFAULT_SEARCH_TIMEOUT, DISCOVERY_SERVICE, DISCOVERY_SERVICE_NAME_BOOTSTRAP_RES_OFF, DISCOVERY_SERVICE_NAME_DYNAMIC_DISCO_ENTRIES, DISCOVERY_SERVICE_PROVIDER_RESOURCE_ID_MAPPER, DISCOVERY_SERVICE_PROVIDER_RESOURCE_ID_MAPPER_ID_MAPPER, DISCOVERY_SERVICE_PROVIDER_RESOURCE_ID_MAPPER_PROVIDER_ID, DISPLAY_ATTRIBUTE, DISPLAY_READONLY_ATTRIBUTE, DYN_LINK_COMPONENT_NAME, ENCRYPTED, FED_TAB_ID, G11N_SERIVCE_COMMON_NAME_FORMAT, G11N_SERVICE_NAME, IDREPO_SERVICE_NAME, IMAGES_PRIMARY_PRODUCT_NAME_PNG, OPERATION_ADD, OPERATION_EDIT, OPTIONAL_ATTRIBUTE, ORGANIZATION_NODE_ID, PASSWORD, PERMISSION_DELEGATE, PERMISSION_MODIFY, PERMISSION_READ, PG_SESSION_INIT_PAGETRAIL, PLATFORM_SERVICE, POLICY_SELECTED_RESPONSE_PROVIDER, POLICY_SERVICE, PREVIOUS_ORGANIZATION, PREVIOUS_REALM, PREVIOUS_TAB_ID, PW_RESET_SERVICE, REALM_NODE_ID, REQUIRED_ATTRIBUTE, REST_STS_SERVICE, ROLE_DISPLAY_OPTION_ATTRIBUTE_NAME, SAML_SERVICE, SAVE_VB_NAME, SERVICE_NAME, SESSION_SERVICE, SESSIONS_NODE_ID, SOAP_STS_SERVICE, SSO_TOKEN_LOCALE_ATTRIBUTE_NAME, SSO_TOKEN_ORGANIZATION_ATTRIBUTE_NAME, STRING_ACTIVE, STRING_FALSE, STRING_INACTIVE, SUBJECTS_NODE_ID, TAB_AGENT_PREFIX, TAB_AGENT_PREFIX_INT, URL_LOGIN, URL_LOGOUT, USER_SERVICE, USER_SERVICE_PREFERRED_LOCALE, VALUES
-
Fields inherited from interface com.sun.identity.console.base.model.AMModel
CONSOLE_PAGING_SIZE_ATTR, CONSOLE_SEARCH_RESULT_LIMIT_ATTR, CONSOLE_SEARCH_TIME_LIMIT_ATTR, DEFAULT_PAGE_SIZE, DEFAULT_SEARCH_RESULT_LIMIT, DEFAULT_SEARCH_TIME_LIMIT
-
Fields inherited from interface com.sun.identity.console.federation.model.EntityModel
AFFILIATE, GENERAL, HOSTED, IDENTITY_PROVIDER, IDFF, IDFF_AFFILAITAE, LOCATION, POLICY_DECISION_POINT_DESCRIPTOR, POLICY_ENFORCEMENT_POINT_DESCRIPTOR, PROTOCOL, REALM, REMOTE, ROLE, SAML_ATTRAUTHORITY, SAML_ATTRQUERY, SAML_AUTHNAUTHORITY, SAMLV2, SAMLv2_AFFILAITAE, SERVICE_PROVIDER, WSFED
-
Fields inherited from interface com.sun.identity.console.federation.model.SAMLv2Model
AFFILIATE_MEMBER, AFFILIATE_OWNER, ALWAYS_IDP_PROXY, APP_LOGOUT_URL, ART_RES_INDEX, ART_RES_ISDEFAULT, ART_RES_LOCATION, ARTI_MSG_ENCODE, ARTIF_RESOLVE_SIGN, artifact, ASSERT_EFFECT_TIME, ASSERT_NOT_BEFORE_TIMESKEW, ASSERT_TIME_SKEW, ASSERTION_CACHE_ENABLED, ASSERTION_ID_REQ_MAPPER, ASSERTION_ID_SAOP_LOC, ASSERTION_ID_URI_LOC, ATTR_BASIC_AUTH_ON, ATTR_BASIC_AUTH_PASSWORD, ATTR_BASIC_AUTH_USER, ATTR_COTLIST, ATTR_DO_NOT_WRITE_FEDERATION_INFO, ATTR_ECP_REQUEST_IDP_LIST, ATTR_ECP_REQUEST_IDP_LIST_FINDER_IMPL, ATTR_ECP_REQUEST_IDP_LIST_GET_COMPLETE, ATTR_ENCRYPTION_CERT_ALIAS, ATTR_IDP_ADAPTER, ATTR_IDP_ECP_SESSION_MAPPER, ATTR_NAMEID_FORMAT, ATTR_RELAY_STATE_IDP_URL_LIST, ATTR_RELAY_STATE_SP_URL_LIST, ATTR_SAE_IDP_APP_SECRET_LIST, ATTR_SAE_IDP_URL, ATTR_SAE_LOGOUT_URL, ATTR_SAE_SP_APP_SECRET_LIST, ATTR_SAE_SP_URL, ATTR_SEFVICE_DEFAULT_LOCATION, ATTR_SEFVICE_LOCATION, ATTR_SIGNING_CERT_ALIAS, ATTR_SP_ADAPTER, ATTR_SP_ADAPTER_ENV, ATTR_TXT_PROTOCOL_SUPPORT_ENUM, ATTR_WANT_ASSERTION_ENCRYPTED, ATTR_WANT_ASSERTION_SIGNED, ATTR_WANT_XACML_AUTHZ_DECISION_QUERY_SIGNED, ATTR_WANT_XACML_AUTHZ_DECISION_RESPONSE_SIGNED, ATTR_XACML_AUTHZ_SERVICE_BINDING, ATTR_XACML_AUTHZ_SERVICE_LOCATION, ATTRIBUTE_PROFILE, AUTH_URL, AUTHN_QUERY_SERVICE, BOOT_STRAP_ENABLED, COT_LIST, DEF_AUTH_MAPPER, DEFAULT_RELAY_STATE, ENABLE_IDP_PROXY, ENABLE_PROXY_IDP_FINDER_FOR_ALL_SPS, ENCRYPT_CERT_ALIAS, httpArtifact, httpartifactBinding, httpPost, httpPostBinding, httpRedirect, httpRedirectBinding, IDP_ACCT_MAPPER, IDP_ATTR_MAP, IDP_ATTR_MAPPER, IDP_AUTHN_CONTEXT_CLASS_REF_MAPPING, IDP_AUTHN_CONTEXT_CLASS_REF_MAPPING_DEFAULT, IDP_AUTHN_CONTEXT_MAPPER, IDP_AUTO_FED_ATTR, IDP_AUTO_FED_ENABLED, IDP_BASIC_AUTH_ON, IDP_BASIC_AUTH_PWD, IDP_BASIC_AUTH_USER, IDP_ENCRYPT_CERT_ALIAS, IDP_LOGOUT_REQ_SIGN, IDP_LOGOUT_RESP_SIGN, IDP_META_ALIAS, IDP_MNI_REQ_SIGN, IDP_MNI_RESP_SIGN, IDP_NAMEID_ENCRYPTED, IDP_PROXY_COUNT, IDP_PROXY_FINDER, IDP_PROXY_INTROD, IDP_PROXY_LIST, IDP_SESSION_SYNC_ENABLED, IDP_SIGN_CERT_ALIAS, IDP_SIGN_CERT_KEYPASS, INTERMEDIATE_URL, IS_AUTHN_REQ_SIGNED, LOCAL_AUTH_URL, MANAGE_NAMEID_HTTP_LOCATION, MANAGE_NAMEID_HTTP_RESP_LOCATION, MANAGE_NAMEID_SOAP_LOCATION, MNI_POST_LOC, MNI_POST_RESPLOC, NAME_ID_MAPPPING, NAMEID_FORMAT, NAMEID_FORMAT_MAP, paos, paosBinding, post, PROTOCOL_SUPP_ENUM, PROXY_IDP_FINDER_CLASS, PROXY_IDP_FINDER_JSP, RP_URL, SAML2_AUTH_MODULE, SIGN_CERT_ALIAS, SINGLE_LOGOUT_DEFAULT, SINGLE_LOGOUT_HTTP_LOCATION, SINGLE_LOGOUT_HTTP_RESP_LOCATION, SINGLE_LOGOUT_SOAP_LOCATION, SINGLE_MANAGE_NAMEID_DEFAULT, SINGLE_SIGNON_HTTP_LOCATION, SINGLE_SIGNON_SOAP_LOCATION, SLO_POST_LOC, SLO_POST_RESPLOC, soap, soapBinding, SP_ACCT_MAPPER, SP_ATTR_MAP, SP_ATTR_MAPPER, SP_AUTHN_CONTEXT_CLASS_REF_MAPPING, SP_AUTHN_CONTEXT_CLASS_REF_MAPPING_DEFAULT, SP_AUTHN_CONTEXT_COMPARISON, SP_AUTHN_CONTEXT_MAPPER, SP_AUTO_FED_ATTR, SP_AUTO_FED_ENABLED, SP_BASIC_AUTH_ON, SP_BASIC_AUTH_PWD, SP_BASIC_AUTH_USER, SP_ENCRYPT_CERT_ALIAS, SP_INCLUDE_REQUESTED_AUTHN_CONTEXT, SP_LOGOUT_DEFAULT, SP_LOGOUT_REQ_SIGN, SP_LOGOUT_RESP_SIGN, SP_MANAGE_NAMEID_HTTP_LOCATION, SP_MANAGE_NAMEID_HTTP_RESP_LOCATION, SP_MANAGE_NAMEID_SOAP_LOCATION, SP_MANAGE_NAMEID_SOAP_RESP_LOCATION, SP_META_ALIAS, SP_MNI_DEFAULT, SP_MNI_POST_LOC, SP_MNI_POST_RESPLOC, SP_MNI_REQ_SIGN, SP_MNI_RESP_SIGN, SP_NAMEID_ENCRYPTED, SP_PROTOCOL_SUPP_ENUM, SP_SESSION_SYNC_ENABLED, SP_SIGN_CERT_ALIAS, SP_SIGN_CERT_KEYPASS, SP_SINGLE_LOGOUT_HTTP_LOCATION, SP_SINGLE_LOGOUT_HTTP_RESP_LOCATION, SP_SINGLE_LOGOUT_SOAP_LOCATION, SP_SLO_POST_LOC, SP_SLO_POST_RESPLOC, SP_USE_NAMEID, SSO_SOAPS_LOC, SUB_DATA_STORE, SUPPORTS_X509, TF_ALGORITHM, TF_KEY_NAME, TF_NAME, TRANSIENT_USER, uriBinding, WANT_ARTIF_RESP_SIGN, WANT_ASSERTION_ENCRYPTED, WANT_ASSERTIONS_SIGNED, WANT_ATTR_ENCRYPTED, WANT_AUTHN_REQ_SIGNED, WANT_POST_RESP_SIGN, X509_AUTH_MAPPER
-
-
Constructor Summary
Constructors Constructor Description SAMLv2ModelImpl(jakarta.servlet.http.HttpServletRequest req, Map map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetgetallSPEntities(String realm)Returns a set with all the Service Providers under the realm.AssertionConsumerServiceElementgetAscObject()ListgetAssertionConsumerServices(String realm, String entityName)Returns a List with Assertion Consumer Service attributes and values.MapgetattrAuthEXDataMap()Returns SAMLv2 Extended Attribute Authority values.MapgetattrQueryEXDataMap()Returns SAMLv2 Extended Attribute Query values.MapgetauthnAuthEXDataMap()Returns SAMLv2 Extended Authn Authority values.MapgetExtendedAffiliationyAttributes(String realm, String entityName)Returns a map with extended Affiliation attributes and values.MapgetExtendedAttributeAuthorityAttributes(String realm, String entityName)Returns a map with extended AttributeAuthority attributes and values.MapgetExtendedAttrQueryAttributes(String realm, String entityName)Returns a map with extended AttrQuery attributes and values.MapgetExtendedAuthnAuthorityAttributes(String realm, String entityName)Returns a map with extended AuthnAuthority attributes and values.Map<String,List<String>>getExtendedIdentityProviderAttributes(String realm, String entityName)Returns a map with extended identity provider attributes and values.MapgetExtendedServiceProviderAttributes(String realm, String entityName)Returns a map with extended service provider attributes and values.SAMLv2AuthContextsgetIDPAuthenticationContexts(String realm, String entityName)Returns the object of Auththentication Contexts in IDP.MapgetIDPEXACDataMap()Returns SAMLv2 Extended Identity Provider values for Assertion Content.MapgetIDPEXAdDataMap()Returns SAMLv2 Extended Identity Provider attribute values for Advanced.MapgetIDPEXAPDataMap()Returns SAMLv2 Extended Identity Provider values for Assertion Processing.MapgetIDPEXDataMap()Returns SAMLv2 Extended Identity Provider attribute values.MapgetIDPEXSDataMap()Returns SAMLv2 Extended Identity Provider attribute values for Services.StringgetMetaalias(String realm, String entityName, String role)Returns the metaAlias of the entity.MapgetPDPConfig(String realm, String entityName, String location)Returns a Map of PDP Config data.MapgetPDPDescriptor(String realm, String entityName)Returns a Map of PDP descriptor data.MapgetPEPConfig(String realm, String entityName, String location)Returns aMapcontaining the extended metadata for the PEP.MapgetPEPDescriptor(String realm, String entityName)Returns a Map of PEP descriptor data.protected SAML2MetaManagergetSAML2MetaManager()SAMLv2AuthContextsgetSPAuthenticationContexts(String realm, String entityName)Returns the object of Auththentication Contexts in SP.MapgetSPEXACDataMap()Returns SAMLv2 Extended Service Provider attribute for Assertion Content.MapgetSPEXAdDataMap()Returns SAMLv2 Extended Service Provider attribute values for Advanced.MapgetSPEXAPDataMap()Returns SAMLv2 Extended Service Provider values for Assertion Processing.MapgetSPEXDataMap()Returns SAMLv2 Extended Service Provider attribute values.MapgetSPEXSDataMap()Returns SAMLv2 Extended Service Provider attribute values for Services.MapgetStandardAffiliationAttributes(String realm, String entityName)Returns a map with standard Affiliation attributes and values.MapgetStandardAttributeAuthorityAttributes(String realm, String entityName)Returns a map with standard AttributeAuthority attributes and values.MapgetStandardAttrQueryAttributes(String realm, String entityName)Returns a map with standard AttrQuery attributes and values.MapgetStandardAuthnAuthorityAttributes(String realm, String entityName)Returns a map with standard AuthnAuthority attributes and values.MapgetStandardIdentityProviderAttributes(String realm, String entityName)Returns a map with standard identity provider attributes and values.MapgetStandardServiceProviderAttributes(String realm, String entityName)Returns a map with standard service provider attributes and values.MapgetXacmlPDPExtendedMetaMap()Returns SAMLv2 Xacml PDP ExtendedMetaMapgetXacmlPEPExtendedMetaMap()Returns SAMLv2 Xacml PEP ExtendedMetavoidsetExtAttributeAuthorityValues(String realm, String entityName, Map attrAuthExtValues, String location)Saves the extended attribute values for Attribute Authority.voidsetExtAttributeQueryValues(String realm, String entityName, Map attrQueryExtValues, String location)Saves the extended attribute values for Attribute Query.voidsetExtauthnAuthValues(String realm, String entityName, Map authnAuthExtValues, String location)Saves the extended attribute values for Authn Authority.voidsetIDPExtAttributeValues(String realm, String entityName, Map idpExtValues, String location)Saves the extended attribute values for the Identiy Provider.voidsetIDPStdAttributeValues(String realm, String entityName, Map idpStdValues)Saves the standard attribute values for the Identiy Provider.voidsetSPExtAttributeValues(String realm, String entityName, Map spExtValues, String location)Saves the extended attribute values for the Service Provider.voidsetSPStdAttributeValues(String realm, String entityName, Map spStdValues, List assertionConsumer)Saves the standard attribute values for the Service Provider.voidsetStdAffilationValues(String realm, String entityName, Map affiliationValues, Set members)Saves the standard attribute values for Affilaition.voidsetStdAttributeAuthorityValues(String realm, String entityName, Map attrAuthValues)Saves the standard attribute values for Attribute Authority.voidsetStdAttributeQueryValues(String realm, String entityName, Map attrQueryValues)Saves the standard attribute values for Attribute Query.voidsetStdAuthnAuthorityValues(String realm, String entityName, Map authnAuthValues)Saves the standard attribute values for Authn Authority.voidupdateIDPAuthenticationContexts(String realm, String entityName, SAMLv2AuthContexts cxt)update IDP Authentication ContextsvoidupdateKeyinfo(String realm, String entityName, Map<String,Set<String>> extValues, Map<String,Set<String>> stdValues, boolean isIDP)Saves the signing and encryption values for the entity.voidupdatePDPConfig(String realm, String entityName, String location, Map attrValues)Save extended metadata for PDP Config.voidupdatePDPDescriptor(String realm, String entityName, Map attrValues)Save standard metadata for PDP descriptor.voidupdatePEPConfig(String realm, String entityName, String location, Map attrValues)Save the extended metadata for PEP Config.voidupdatePEPDescriptor(String realm, String entityName, Map attrValues)Save the standard metadata for PEP descriptor.voidupdateSPAuthenticationContexts(String realm, String entityName, SAMLv2AuthContexts cxt)update SP Authentication Contexts-
Methods inherited from class com.sun.identity.console.federation.model.EntityModelImpl
convertListToSet, convertSetToList, convertSetToListInMap, createEntity, deleteEntities, getEntities, getIDFFEntities, getIDFFRoles, getSAMLv2Entities, getSAMLv2Roles, getTabMenu, getWSFedEntities, getWSFedRoles, isAffiliate, returnEmptyListIfValueIsNull, returnEmptyListIfValueIsNull, returnEmptySetIfValueIsNull, returnEmptySetIfValueIsNull, returnEmptySetIfValueIsNull, returnEmptySetIfValueIsNull
-
Methods inherited from class com.sun.identity.console.base.model.AMModelBase
encryptString, getAttributesToDisplay, getAuthenticatedOrgDN, getClientType, getConsoleAttributes, getConsoleDirectory, getErrorString, getGlobalPageSize, getGlobalSearchResultLimit, getGlobalSearchTimeOutLimit, getLocalizedServiceName, getLocalizedServiceName, getLocalizedString, getLocationDN, getLogoutURL, getPageSize, getRandomString, getRealmNames, getResourceBundle, getSearchResultLimit, getSearchTimeOutLimit, getServerInstanceForLogMsg, getServicePropertiesViewBeanURL, getServiceResourceBundle, getServiceSchemaManager, getSpecialUsers, getStartDN, getStartDN, getStartDSDN, getSupportedAgentTypes, getSupportedEntityTypes, getUniversalID, getUserAdditionalSearchAttributes, getUserDisplayAttribute, getUserDisplayName, getUserDN, getUserInfo, getUserLocale, getUserName, getUserOrganization, getUserSearchAttribute, getUserSSOToken, ignoreUserProfile, initialize, isAmadminUser, isAMSDKEnabled, isDisplayed, logEvent, setLocationDN, validateUserStatusEntry
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.identity.console.base.model.AMModel
getClientType, getConsoleDirectory, getErrorString, getLocalizedServiceName, getLocalizedString, getLocationDN, getPageSize, getRandomString, getRealmNames, getServicePropertiesViewBeanURL, getSpecialUsers, getStartDN, getStartDSDN, getSupportedAgentTypes, getSupportedEntityTypes, getUniversalID, getUserDisplayName, getUserDN, getUserLocale, getUserName, getUserSSOToken, ignoreUserProfile, isAmadminUser, isAMSDKEnabled, logEvent, setLocationDN
-
Methods inherited from interface com.sun.identity.console.federation.model.EntityModel
createEntity, deleteEntities, getEntities, getIDFFEntities, getIDFFRoles, getSAMLv2Entities, getSAMLv2Roles, getTabMenu, getWSFedEntities, isAffiliate
-
-
-
-
Constructor Detail
-
SAMLv2ModelImpl
public SAMLv2ModelImpl(jakarta.servlet.http.HttpServletRequest req, Map map)
-
-
Method Detail
-
getStandardIdentityProviderAttributes
public Map getStandardIdentityProviderAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with standard identity provider attributes and values.- Specified by:
getStandardIdentityProviderAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with standard attribute values of Identity Provider.
- Throws:
AMConsoleException- if unable to retrieve the Identity Provider attrubutes based on the realm and entityName passed.
-
getExtendedIdentityProviderAttributes
public Map<String,List<String>> getExtendedIdentityProviderAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with extended identity provider attributes and values.- Specified by:
getExtendedIdentityProviderAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with extended attribute values of Identity Provider.
- Throws:
AMConsoleException- if unable to retrieve the Identity Provider attrubutes based on the realm and entityName passed.
-
getMetaalias
public String getMetaalias(String realm, String entityName, String role) throws AMConsoleException
Returns the metaAlias of the entity.- Specified by:
getMetaaliasin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.role- the Role of entity.- Returns:
- the metaAlias of the entity.
- Throws:
AMConsoleException- if unable to retrieve metaAlias.
-
getStandardServiceProviderAttributes
public Map getStandardServiceProviderAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with standard service provider attributes and values.- Specified by:
getStandardServiceProviderAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with standard attribute values of Service Provider.
- Throws:
AMConsoleException- if unable to retrieve the Service Provider attrubutes based on the realm and entityName passed.
-
getAssertionConsumerServices
public List getAssertionConsumerServices(String realm, String entityName) throws AMConsoleException
Returns a List with Assertion Consumer Service attributes and values.- Specified by:
getAssertionConsumerServicesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- List with Assertion Consumer values of Service Provider.
- Throws:
AMConsoleException- if unable to retrieve the Service Provider Assertion Consumer values based on the realm and entityName passed.
-
getAscObject
public AssertionConsumerServiceElement getAscObject() throws AMConsoleException
- Specified by:
getAscObjectin interfaceSAMLv2Model- Throws:
AMConsoleException
-
getExtendedServiceProviderAttributes
public Map getExtendedServiceProviderAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with extended service provider attributes and values.- Specified by:
getExtendedServiceProviderAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with extended attribute values of Service Provider.
- Throws:
AMConsoleException- if unable to retrieve the Service Provider attrubutes based on the realm and entityName passed.
-
setIDPStdAttributeValues
public void setIDPStdAttributeValues(String realm, String entityName, Map idpStdValues) throws AMConsoleException
Saves the standard attribute values for the Identiy Provider.- Specified by:
setIDPStdAttributeValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.idpStdValues- Map which contains the standard attribute values.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setIDPExtAttributeValues
public void setIDPExtAttributeValues(String realm, String entityName, Map idpExtValues, String location) throws AMConsoleException
Saves the extended attribute values for the Identiy Provider.- Specified by:
setIDPExtAttributeValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.idpExtValues- Map which contains the standard attribute values.location- has the information whether remote or hosted.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setSPStdAttributeValues
public void setSPStdAttributeValues(String realm, String entityName, Map spStdValues, List assertionConsumer) throws AMConsoleException
Saves the standard attribute values for the Service Provider.- Specified by:
setSPStdAttributeValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.spStdValues- Map which contains the standard attribute values.assertionConsumer- List with assertion consumer service values.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setSPExtAttributeValues
public void setSPExtAttributeValues(String realm, String entityName, Map spExtValues, String location) throws AMConsoleException
Saves the extended attribute values for the Service Provider.- Specified by:
setSPExtAttributeValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.spExtValues- Map which contains the standard attribute values.location- has the information whether remote or hosted.- Throws:
AMConsoleException- if saving of attribute value fails.
-
updateKeyinfo
public void updateKeyinfo(String realm, String entityName, Map<String,Set<String>> extValues, Map<String,Set<String>> stdValues, boolean isIDP) throws AMConsoleException
Saves the signing and encryption values for the entity.- Specified by:
updateKeyinfoin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.extValues- Map which contains the extended attribute values.stdValues- Map which contains the standard attribute values.isIDP- has information whether entity is an idp or sp.- Throws:
AMConsoleException- if saving of attribute value fails.
-
getPEPDescriptor
public Map getPEPDescriptor(String realm, String entityName) throws AMConsoleException
Returns a Map of PEP descriptor data.(Standard Metadata)- Specified by:
getPEPDescriptorin interfaceSAMLv2Model- Parameters:
realm- realm of EntityentityName- entity name of Entity Descriptor.- Returns:
- key-value pair Map of PEP descriptor data.
- Throws:
AMConsoleException- if unable to retrieve the PEP standard metadata attributes
-
getPDPDescriptor
public Map getPDPDescriptor(String realm, String entityName) throws AMConsoleException
Returns a Map of PDP descriptor data.(Standard Metadata)- Specified by:
getPDPDescriptorin interfaceSAMLv2Model- Parameters:
realm- realm of EntityentityName- entity name of Entity Descriptor.- Returns:
- key-value pair Map of PDP descriptor data.
- Throws:
AMConsoleException- if unable to retrieve the PDP standard metadata attribute
-
getPEPConfig
public Map getPEPConfig(String realm, String entityName, String location) throws AMConsoleException
Returns aMapcontaining the extended metadata for the PEP.- Specified by:
getPEPConfigin interfaceSAMLv2Model- Parameters:
realm- where entity exists.entityName- name of entity descriptor.location- if the entity is remote or hosted.- Returns:
- key-value pair Map of PEP config data.
- Throws:
AMConsoleException- if unable to retrieve the PEP extended metadata attribute
-
getPDPConfig
public Map getPDPConfig(String realm, String entityName, String location) throws AMConsoleException
Returns a Map of PDP Config data. (Extended Metadata)- Specified by:
getPDPConfigin interfaceSAMLv2Model- Parameters:
realm- realm of EntityentityName- entity name of Entity Descriptorlocation- location of entity(hosted or remote)- Returns:
- key-value pair Map of PPP config data.
- Throws:
AMConsoleException- if unable to retrieve the PDP extended metadata attribute
-
updatePDPDescriptor
public void updatePDPDescriptor(String realm, String entityName, Map attrValues) throws AMConsoleException
Save standard metadata for PDP descriptor.- Specified by:
updatePDPDescriptorin interfaceSAMLv2Model- Parameters:
realm- realm of Entity.entityName- entity name of Entity Descriptor.attrValues- key-value pair Map of PDP standed data.- Throws:
AMConsoleException- if fails to modify/save the PDP standard metadata attribute
-
updatePDPConfig
public void updatePDPConfig(String realm, String entityName, String location, Map attrValues) throws AMConsoleException
Save extended metadata for PDP Config.- Specified by:
updatePDPConfigin interfaceSAMLv2Model- Parameters:
realm- realm of Entity.entityName- entity name of Entity Descriptor.location- entity is remote or hosted.attrValues- key-value pair Map of PDP extended config.- Throws:
AMConsoleException- if fails to modify/save the PDP extended metadata attribute
-
updatePEPDescriptor
public void updatePEPDescriptor(String realm, String entityName, Map attrValues) throws AMConsoleException
Save the standard metadata for PEP descriptor.- Specified by:
updatePEPDescriptorin interfaceSAMLv2Model- Parameters:
realm- realm of Entity.entityName- entity name of Entity Descriptor.attrValues- key-value pair Map of PEP descriptor data. throws AMConsoleException if there is an error.- Throws:
AMConsoleException- if there is an error
-
updatePEPConfig
public void updatePEPConfig(String realm, String entityName, String location, Map attrValues) throws AMConsoleException
Save the extended metadata for PEP Config.- Specified by:
updatePEPConfigin interfaceSAMLv2Model- Parameters:
realm- realm of EntityentityName- entity name of Entity Descriptor.location- entity is remote or hostedattrValues- key-value pair Map of PEP extended config.- Throws:
AMConsoleException- if fails to modify/save the PEP extended metadata attributes
-
getIDPAuthenticationContexts
public SAMLv2AuthContexts getIDPAuthenticationContexts(String realm, String entityName) throws AMConsoleException
Returns the object of Auththentication Contexts in IDP.- Specified by:
getIDPAuthenticationContextsin interfaceSAMLv2Model- Parameters:
realm- Realm of EntityentityName- Name of Entity Descriptor.- Returns:
- SAMLv2AuthContexts contains IDP authContexts values.
- Throws:
AMConsoleException- if unable to retrieve the IDP Authentication Contexts
-
getSPAuthenticationContexts
public SAMLv2AuthContexts getSPAuthenticationContexts(String realm, String entityName) throws AMConsoleException
Returns the object of Auththentication Contexts in SP.- Specified by:
getSPAuthenticationContextsin interfaceSAMLv2Model- Parameters:
realm- Realm of EntityentityName- Name of Entity Descriptor.- Returns:
- SAMLv2AuthContexts contains SP authContexts values.
- Throws:
AMConsoleException- if unable to retrieve the SP Authentication Contexts
-
updateIDPAuthenticationContexts
public void updateIDPAuthenticationContexts(String realm, String entityName, SAMLv2AuthContexts cxt) throws AMConsoleException
update IDP Authentication Contexts- Specified by:
updateIDPAuthenticationContextsin interfaceSAMLv2Model- Parameters:
realm- Realm of EntityentityName- Name of Entity Descriptor.cxt- SAMLv2AuthContexts object contains IDP Authentication Contexts values- Throws:
AMConsoleException- if fails to update IDP Authentication Contexts.
-
updateSPAuthenticationContexts
public void updateSPAuthenticationContexts(String realm, String entityName, SAMLv2AuthContexts cxt) throws AMConsoleException
update SP Authentication Contexts- Specified by:
updateSPAuthenticationContextsin interfaceSAMLv2Model- Parameters:
realm- Realm of EntityentityName- Name of Entity Descriptor.cxt- SAMLv2AuthContexts object contains SP Authentication Contexts values- Throws:
AMConsoleException- if fails to update SP Authentication Contexts.
-
getStandardAttributeAuthorityAttributes
public Map getStandardAttributeAuthorityAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with standard AttributeAuthority attributes and values.- Specified by:
getStandardAttributeAuthorityAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with AttributeAuthority values.
- Throws:
AMConsoleException- if unable to retrieve std AttributeAuthority values based on the realm and entityName passed.
-
getExtendedAttributeAuthorityAttributes
public Map getExtendedAttributeAuthorityAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with extended AttributeAuthority attributes and values.- Specified by:
getExtendedAttributeAuthorityAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with extended AttributeAuthority values.
- Throws:
AMConsoleException- if unable to retrieve ext AttributeAuthority attributes based on the realm and entityName passed.
-
getStandardAuthnAuthorityAttributes
public Map getStandardAuthnAuthorityAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with standard AuthnAuthority attributes and values.- Specified by:
getStandardAuthnAuthorityAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with AuthnAuthority values.
- Throws:
AMConsoleException- if unable to retrieve std AuthnAuthority values based on the realm and entityName passed.
-
getExtendedAuthnAuthorityAttributes
public Map getExtendedAuthnAuthorityAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with extended AuthnAuthority attributes and values.- Specified by:
getExtendedAuthnAuthorityAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with extended AuthnAuthority values.
- Throws:
AMConsoleException- if unable to retrieve ext AuthnAuthority attributes based on the realm and entityName passed.
-
getStandardAttrQueryAttributes
public Map getStandardAttrQueryAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with standard AttrQuery attributes and values.- Specified by:
getStandardAttrQueryAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with AttrQuery values.
- Throws:
AMConsoleException- if unable to retrieve std AttrQuery values based on the realm and entityName passed.
-
getExtendedAttrQueryAttributes
public Map getExtendedAttrQueryAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with extended AttrQuery attributes and values.- Specified by:
getExtendedAttrQueryAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with extended AttrQuery values.
- Throws:
AMConsoleException- if unable to retrieve ext AttrQuery attributes based on the realm and entityName passed.
-
setStdAttributeAuthorityValues
public void setStdAttributeAuthorityValues(String realm, String entityName, Map attrAuthValues) throws AMConsoleException
Saves the standard attribute values for Attribute Authority.- Specified by:
setStdAttributeAuthorityValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.attrAuthValues- Map which contains standard attribute auth values.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setExtAttributeAuthorityValues
public void setExtAttributeAuthorityValues(String realm, String entityName, Map attrAuthExtValues, String location) throws AMConsoleException
Saves the extended attribute values for Attribute Authority.- Specified by:
setExtAttributeAuthorityValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.attrAuthExtValues- Map which contains the extended values.location- has the information whether remote or hosted.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setStdAuthnAuthorityValues
public void setStdAuthnAuthorityValues(String realm, String entityName, Map authnAuthValues) throws AMConsoleException
Saves the standard attribute values for Authn Authority.- Specified by:
setStdAuthnAuthorityValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.authnAuthValues- Map which contains standard authn authority values.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setExtauthnAuthValues
public void setExtauthnAuthValues(String realm, String entityName, Map authnAuthExtValues, String location) throws AMConsoleException
Saves the extended attribute values for Authn Authority.- Specified by:
setExtauthnAuthValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.authnAuthExtValues- Map which contains the extended values.location- has the information whether remote or hosted.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setStdAttributeQueryValues
public void setStdAttributeQueryValues(String realm, String entityName, Map attrQueryValues) throws AMConsoleException
Saves the standard attribute values for Attribute Query.- Specified by:
setStdAttributeQueryValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.attrQueryValues- Map which contains standard attribute query values.- Throws:
AMConsoleException- if saving of attribute value fails.
-
setExtAttributeQueryValues
public void setExtAttributeQueryValues(String realm, String entityName, Map attrQueryExtValues, String location) throws AMConsoleException
Saves the extended attribute values for Attribute Query.- Specified by:
setExtAttributeQueryValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.attrQueryExtValues- Map which contains the extended values.location- has the information whether remote or hosted.- Throws:
AMConsoleException- if saving of attribute value fails.
-
getStandardAffiliationAttributes
public Map getStandardAffiliationAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with standard Affiliation attributes and values.- Specified by:
getStandardAffiliationAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with Affiliation values.
- Throws:
AMConsoleException- if unable to retrieve std Affiliation values based on the realm and entityName passed.
-
getExtendedAffiliationyAttributes
public Map getExtendedAffiliationyAttributes(String realm, String entityName) throws AMConsoleException
Returns a map with extended Affiliation attributes and values.- Specified by:
getExtendedAffiliationyAttributesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.- Returns:
- Map with extended Affiliation values.
- Throws:
AMConsoleException- if unable to retrieve ext Affiliation attributes based on the realm and entityName passed.
-
setStdAffilationValues
public void setStdAffilationValues(String realm, String entityName, Map affiliationValues, Set members) throws AMConsoleException
Saves the standard attribute values for Affilaition.- Specified by:
setStdAffilationValuesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.entityName- is the entity id.affiliationValues- Map which contains standard affiliation values.members- Set which contains all members.- Throws:
AMConsoleException- if saving of attribute value fails.
-
getallSPEntities
public Set getallSPEntities(String realm) throws AMConsoleException
Returns a set with all the Service Providers under the realm.- Specified by:
getallSPEntitiesin interfaceSAMLv2Model- Parameters:
realm- to which the entity belongs.- Returns:
- Set with all service providers under the realm passed.
- Throws:
AMConsoleException- if unable to retrieve service providers.
-
getSAML2MetaManager
protected SAML2MetaManager getSAML2MetaManager() throws SAML2MetaException
- Throws:
SAML2MetaException
-
getSPEXDataMap
public Map getSPEXDataMap()
Returns SAMLv2 Extended Service Provider attribute values.- Specified by:
getSPEXDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Service Provider attribute values.
-
getIDPEXDataMap
public Map getIDPEXDataMap()
Returns SAMLv2 Extended Identity Provider attribute values.- Specified by:
getIDPEXDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Identity Provider attribute values.
-
getSPEXACDataMap
public Map getSPEXACDataMap()
Returns SAMLv2 Extended Service Provider attribute for Assertion Content.- Specified by:
getSPEXACDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Service Provider attribute for Assertion Content.
-
getSPEXAPDataMap
public Map getSPEXAPDataMap()
Returns SAMLv2 Extended Service Provider values for Assertion Processing.- Specified by:
getSPEXAPDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Service Provider values for Assertion Processing.
-
getSPEXSDataMap
public Map getSPEXSDataMap()
Returns SAMLv2 Extended Service Provider attribute values for Services.- Specified by:
getSPEXSDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Service Provider attribute values for Services.
-
getSPEXAdDataMap
public Map getSPEXAdDataMap()
Returns SAMLv2 Extended Service Provider attribute values for Advanced.- Specified by:
getSPEXAdDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Service Provider attribute values for Advanced.
-
getIDPEXACDataMap
public Map getIDPEXACDataMap()
Returns SAMLv2 Extended Identity Provider values for Assertion Content.- Specified by:
getIDPEXACDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Identity Provider values for Assertion Content.
-
getIDPEXAPDataMap
public Map getIDPEXAPDataMap()
Returns SAMLv2 Extended Identity Provider values for Assertion Processing.- Specified by:
getIDPEXAPDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Identity Provider values for Assertion Processing.
-
getIDPEXSDataMap
public Map getIDPEXSDataMap()
Returns SAMLv2 Extended Identity Provider attribute values for Services.- Specified by:
getIDPEXSDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Identity Provider attribute values for Services.
-
getIDPEXAdDataMap
public Map getIDPEXAdDataMap()
Returns SAMLv2 Extended Identity Provider attribute values for Advanced.- Specified by:
getIDPEXAdDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Identity Provider attribute values for Advanced.
-
getattrAuthEXDataMap
public Map getattrAuthEXDataMap()
Returns SAMLv2 Extended Attribute Authority values.- Specified by:
getattrAuthEXDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Attribute Authority values.
-
getauthnAuthEXDataMap
public Map getauthnAuthEXDataMap()
Returns SAMLv2 Extended Authn Authority values.- Specified by:
getauthnAuthEXDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Authn Authority values.
-
getattrQueryEXDataMap
public Map getattrQueryEXDataMap()
Returns SAMLv2 Extended Attribute Query values.- Specified by:
getattrQueryEXDataMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Extended Attribute Query values.
-
getXacmlPEPExtendedMetaMap
public Map getXacmlPEPExtendedMetaMap()
Description copied from interface:SAMLv2ModelReturns SAMLv2 Xacml PEP ExtendedMeta- Specified by:
getXacmlPEPExtendedMetaMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Xacml PEP Extended Meta.
-
getXacmlPDPExtendedMetaMap
public Map getXacmlPDPExtendedMetaMap()
Description copied from interface:SAMLv2ModelReturns SAMLv2 Xacml PDP ExtendedMeta- Specified by:
getXacmlPDPExtendedMetaMapin interfaceSAMLv2Model- Returns:
- SAMLv2 Xacml PDP Extended Meta.
-
-