Class SAMLv2Base
- java.lang.Object
-
- com.iplanet.jato.view.ViewBase
-
- com.iplanet.jato.view.ContainerViewBase
-
- com.iplanet.jato.view.RequestHandlingViewBase
-
- com.iplanet.jato.view.ViewBeanBase
-
- All Implemented Interfaces:
com.iplanet.jato.RequestCompletionListener,com.iplanet.jato.RequestHandler,com.iplanet.jato.RequestParticipant,com.iplanet.jato.view.ContainerView,com.iplanet.jato.view.View,com.iplanet.jato.view.ViewBean,com.iplanet.jato.view.WebActionHandler,com.iplanet.jato.view.WebActions,com.sun.web.ui.view.tabs.CCNodeEventHandlerInterface
- Direct Known Subclasses:
SAMLv2AffiliateViewBean,SAMLv2AttrAuthorityViewBean,SAMLv2AttrQueryViewBean,SAMLv2AuthnAuthorityViewBean,SAMLv2GeneralViewBean,SAMLv2IDPAdvancedViewBean,SAMLv2IDPAssertionContentViewBean,SAMLv2IDPAssertionProcessingViewBean,SAMLv2IDPServicesViewBean,SAMLv2PDPViewBean,SAMLv2PEPViewBean,SAMLv2SPAdvancedViewBean,SAMLv2SPAssertionContentViewBean,SAMLv2SPAssertionProcessingViewBean,SAMLv2SPServicesViewBean
public abstract class SAMLv2Base extends EntityPropertiesBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHILD_AUTH_CONTEXT_TILED_VIEWprotected static StringPROPERTIESstatic StringTBL_AUTHENTICATION_CONTEXTSstatic StringTBL_COL_CONTEXT_REFERENCEstatic StringTBL_COL_KEYstatic StringTBL_COL_LEVELstatic StringTBL_COL_SUPPORTEDstatic StringTBL_COL_VALUEstatic StringTBL_DATA_CONTEXT_REFERENCEstatic StringTBL_DATA_KEYstatic StringTBL_DATA_LABELstatic StringTBL_DATA_LEVELstatic StringTBL_DATA_SUPPORTEDstatic StringTBL_DATA_VALUE-
Fields inherited from class com.sun.identity.console.federation.EntityPropertiesBase
ENTITY_LOCATION, ENTITY_NAME, ENTITY_REALM, entityName, HOSTED, location, PROPERTY_ATTRIBUTES, psModel, ptModel, realm
-
Fields inherited from class com.sun.identity.console.base.AMPrimaryMastHeadViewBean
HDR_COMMON, MH_COMMON, PG_SESSION_PAGE_TRAIL_ID, PG_SESSION_TAB_ID, retainPageSessionsBtwTabs, TAB_COMMON, tabModel
-
Fields inherited from class com.sun.identity.console.base.AMViewBeanBase
BTN_GHOST, debug, PG_SESSION_ATTR, PG_SESSION_ATTR_ID, PG_SESSION_SSO_ID, SZ_CACHE
-
Fields inherited from class com.iplanet.jato.view.ViewBeanBase
DEFAULT_COMMAND_CHILD_NVP_NAME, DISPLAY_EVENT_COMPLETED_REQUEST_ATTRIBUTE_NAME, OPTION_USE_PAGE_SESSION_FOR_DEFAULT_COMMAND_CHILD
-
Fields inherited from class com.iplanet.jato.view.RequestHandlingViewBase
HANDLE_REQUEST_METHOD_PREFIX, HANDLE_REQUEST_METHOD_SUFFIX
-
Fields inherited from class com.iplanet.jato.view.ContainerViewBase
BEGIN_DISPLAY_EVENT_METHOD_PREFIX, BEGIN_DISPLAY_EVENT_METHOD_SUFFIX, END_DISPLAY_EVENT_METHOD_PREFIX, END_DISPLAY_EVENT_METHOD_SUFFIX, eventMethodRegistry, OPTION_ENABLE_QUALIFIELD_CHILD_NAME_LOOKUPS, OPTION_USE_LEGACY_DISPLAY_EVENT_SIGNATURES
-
Fields inherited from interface com.iplanet.jato.view.ViewBean
PAGE_SESSION_ATTRIBUTE_NVP_NAME, VIEW_BEAN_NAME_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description SAMLv2Base(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbeginDisplay(com.iplanet.jato.view.event.DisplayEvent event)protected Set<String>convertListToSet(List<String> list)Converts the List to Set.protected abstract voidcreatePropertyModel()protected AMModelgetModelInternal()Returns model for this view bean.protected StringgetProfileName()protected voidpopulateAuthenticationContext(SAMLv2AuthContexts authContexts, com.sun.web.ui.model.CCActionTableModel tblAuthContextsModel, String dropdownContextRef)For the given set of authContexts read from the extended metadata, populate the table and dropdown menuprotected SetreturnEmptySetIfValueIsNull(Set set)Return empty set if value is null-
Methods inherited from class com.sun.identity.console.federation.EntityPropertiesBase
createChild, createPageTitleModel, createTabModel, getEntityModel, handleButton1Request, handleButton2Request, handleButton3Request, initialize, isHosted, nodeClicked, registerChildren, retrieveCommonProperties, setPageTitle
-
Methods inherited from class com.sun.identity.console.base.AMPrimaryMastHeadViewBean
addPageTrail, backTrail, beginDisplay, forwardTo, getBreadCrumbDisplayName, getDefaultTabId, getTabNodeAssociatedViewBean, getTrackingTabIDName, handleBreadCrumbHrefRequest, handleRealmNameInTabSwitch, initPageTrail, isRootRealm, lockPageTrail, passPgSessionMapEx, setPageTrail, setRequestContext, setSelectedTabNode, startPageTrail, unlockPageTrail, unlockPageTrailForSwapping
-
Methods inherited from class com.sun.identity.console.base.AMViewBeanBase
addBlankTextField, appendPgSession, beginChildDisplay, bypassForwardTo, charToHex, createOptionList, createOptionList, createOptionList, createOptionList, createOptionList, deserializePageAttributes, disableButton, getBackButtonLabel, getBlankTextFields, getCallingView, getCharset, getCharset, getContentType, getCurrentLocation, getCurrentLocationDN, getCurrentRealm, getCurrentRealmEncoded, getList, getModel, getPageSessionAttributes, getPageSessionAttributeString, getPath, getRequestURL, getServiceNameForAccessControl, getUserLocale, getValues, handleGRequest, hexToString, hideTableSelectionIcons, isInlineAlertMessageSet, mapRequestParameter, passPgSessionMap, passPgSessionMap, performDelegationTasks, redirectToStartURL, resetButtonState, resetView, setCurrentLocation, setInlineAlertMessage, setInlineAlertMessage, setPageSessionAttributes, setRequestContentInitialize, stringToHex
-
Methods inherited from class com.iplanet.jato.view.ViewBeanBase
clearPageSessionAttributes, forward, forwardTo, getDefaultCommandDescriptor, getDefaultDisplayURL, getDisplayURL, getLogicalName, getModuleURL, getPageSessionAttribute, getPageSessionAttributeString, getRequestInvocationName, getRequestInvocationName, handleDeserializePageAttributesException, include, include, include, invokeRequestHandler, invokeRequestHandlerInternal, mapRequestParameters, removePageSessionAttribute, securityCheck, setDefaultCommandDescriptor, setDefaultDisplayURL, setPageSessionAttribute
-
Methods inherited from class com.iplanet.jato.view.RequestHandlingViewBase
acceptRequest, afterAllModelsExecute, afterAllWebActionModelsExecute, afterHandleRequestCommandExecution, afterModelExecutes, afterWebActionModelExecutes, appMessage, beforeHandleRequestCommandExecution, beforeModelExecutes, beforeWebActionModelExecutes, createDefaultExecutionContext, executeAutoDeletingModel, executeAutoDeletingModels, executeAutoExecutingModel, executeAutoExecutingModels, executeAutoInsertingModel, executeAutoInsertingModels, executeAutoRetrievingModel, executeAutoRetrievingModels, executeAutoRetrievingModels, executeAutoUpdatingModel, executeAutoUpdatingModels, getAutoDeletingModels, getAutoExecutingModels, getAutoInsertingModels, getAutoRetrieveExecutionContext, getAutoRetrievingModels, getAutoUpdatingModels, getFirstActionExecutionContext, getLastActionExecutionContext, getModel, getNextActionExecutionContext, getPreviousActionExecutionContext, getRefreshActionExecutionContext, getRequestCompletionListenerChildNames, getRequestContext, getRequestParticipantChildNames, getSession, getViewBean, getWebActionModelOffset, getWebActionModels, getWebActionRowOffsetSessionKey, handleRequest, handleWebAction, isAutoRetrieveEnabled, onHandleRequestCommandExecutionError, onModelError, onNoModelDataAvailable, onWebActionExecutionError, requestComplete, setAutoDeletingModels, setAutoExecutingModels, setAutoInsertingModels, setAutoRetrieveEnabled, setAutoRetrieveExecutionContext, setAutoRetrievingModels, setAutoUpdatingModels, setWebActionModelOffset
-
Methods inherited from class com.iplanet.jato.view.ContainerViewBase
beginChildDisplay, beginComponentDisplay, beginDisplay, childExists, createChildReserved, endChildDisplay, endChildDisplay, endComponentDisplay, endDisplay, endDisplay, ensureChild, getChild, getChildNames, getChildNames, getChildType, getCommandChildNames, getDefaultModel, getDisplayField, getDisplayFieldBooleanValue, getDisplayFieldDoubleValue, getDisplayFieldIntValue, getDisplayFieldStringValue, getDisplayFieldValue, getNumChildren, getQualifiedCommandChildNames, onValidationException, registerChild, registerDisplayEventHandlers, removeAllChildren, removeChild, removeQualifiedNameIndices, resetChildren, setDefaultModel, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, unregisterChild
-
Methods inherited from class com.iplanet.jato.view.ViewBase
getName, getParent, getParentViewBean, getQualifiedName, getQualifiedViewNameSeparator, getRootView, getRootView, getSimpleQualifiedName, isVisible, setName, setParent, setQualifiedViewNameSeparator, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.iplanet.jato.view.ContainerView
endChildDisplay, endDisplay, getChild, getChildNames, getChildType, getDefaultModel, getDisplayField, getDisplayFieldValue, getNumChildren, resetChildren, setDisplayFieldValue
-
Methods inherited from interface com.iplanet.jato.RequestHandler
acceptRequest, getRequestContext, handleRequest
-
-
-
-
Field Detail
-
PROPERTIES
protected static final String PROPERTIES
- See Also:
- Constant Field Values
-
CHILD_AUTH_CONTEXT_TILED_VIEW
public static final String CHILD_AUTH_CONTEXT_TILED_VIEW
- See Also:
- Constant Field Values
-
TBL_AUTHENTICATION_CONTEXTS
public static final String TBL_AUTHENTICATION_CONTEXTS
- See Also:
- Constant Field Values
-
TBL_COL_SUPPORTED
public static final String TBL_COL_SUPPORTED
- See Also:
- Constant Field Values
-
TBL_DATA_SUPPORTED
public static final String TBL_DATA_SUPPORTED
- See Also:
- Constant Field Values
-
TBL_COL_CONTEXT_REFERENCE
public static final String TBL_COL_CONTEXT_REFERENCE
- See Also:
- Constant Field Values
-
TBL_DATA_CONTEXT_REFERENCE
public static final String TBL_DATA_CONTEXT_REFERENCE
- See Also:
- Constant Field Values
-
TBL_DATA_LABEL
public static final String TBL_DATA_LABEL
- See Also:
- Constant Field Values
-
TBL_COL_KEY
public static final String TBL_COL_KEY
- See Also:
- Constant Field Values
-
TBL_DATA_KEY
public static final String TBL_DATA_KEY
- See Also:
- Constant Field Values
-
TBL_COL_VALUE
public static final String TBL_COL_VALUE
- See Also:
- Constant Field Values
-
TBL_DATA_VALUE
public static final String TBL_DATA_VALUE
- See Also:
- Constant Field Values
-
TBL_COL_LEVEL
public static final String TBL_COL_LEVEL
- See Also:
- Constant Field Values
-
TBL_DATA_LEVEL
public static final String TBL_DATA_LEVEL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SAMLv2Base
public SAMLv2Base(String name)
-
-
Method Detail
-
beginDisplay
public void beginDisplay(com.iplanet.jato.view.event.DisplayEvent event) throws com.iplanet.jato.model.ModelControlException- Specified by:
beginDisplayin interfacecom.iplanet.jato.view.ContainerView- Overrides:
beginDisplayin classEntityPropertiesBase- Throws:
com.iplanet.jato.model.ModelControlException
-
getProfileName
protected String getProfileName()
- Specified by:
getProfileNamein classEntityPropertiesBase
-
getModelInternal
protected AMModel getModelInternal()
Description copied from class:AMViewBeanBaseReturns model for this view bean. Dervived class need to implement this method.- Specified by:
getModelInternalin classAMViewBeanBase- Returns:
- model for this view bean.
-
createPropertyModel
protected abstract void createPropertyModel()
- Specified by:
createPropertyModelin classEntityPropertiesBase
-
convertListToSet
protected Set<String> convertListToSet(List<String> list)
Converts the List to Set.- Parameters:
list- the list to be converted.- Returns:
- the corresponding Set.
-
returnEmptySetIfValueIsNull
protected Set returnEmptySetIfValueIsNull(Set set)
Return empty set if value is null- Parameters:
set- the set to be checked for null.- Returns:
- the EMPTY_SET if value is null.
-
populateAuthenticationContext
protected void populateAuthenticationContext(SAMLv2AuthContexts authContexts, com.sun.web.ui.model.CCActionTableModel tblAuthContextsModel, String dropdownContextRef)
For the given set of authContexts read from the extended metadata, populate the table and dropdown menu- Parameters:
authContexts- The set of SAMLv2AuthContexts read from the extended metadatatblAuthContextsModel- The table model to populatedropdownContextRef- The name of the context dropdown menu component to populate
-
-