Class ProtectedStringPanelFactory
java.lang.Object
com.evolveum.midpoint.gui.impl.factory.panel.ProtectedStringPanelFactory
- All Implemented Interfaces:
GuiComponentFactory<PrismPropertyPanelContext<ProtectedStringType>>
,Serializable
- Direct Known Subclasses:
ProtectedStringInConnectorConfigurationPanelFactory
@Component
public class ProtectedStringPanelFactory
extends Object
implements Serializable, GuiComponentFactory<PrismPropertyPanelContext<ProtectedStringType>>
Panel factory for protected strings.
Panel contains two fields for clear password and allow configuration of secret provider only when is already configured.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(PrismPropertyPanelContext<ProtectedStringType> panelCtx, org.apache.wicket.Component component) org.apache.wicket.Component
getOrder()
protected boolean
<IW extends ItemWrapper<?,
?>, VW extends PrismValueWrapper<?>>
booleanmatch
(IW wrapper, VW valueWrapper) void
register()
protected boolean
showProviderPanel
(ItemRealValueModel<ProtectedStringType> realValueModel)
-
Constructor Details
-
ProtectedStringPanelFactory
public ProtectedStringPanelFactory()
-
-
Method Details
-
register
@PostConstruct public void register() -
match
public <IW extends ItemWrapper<?,?>, boolean matchVW extends PrismValueWrapper<?>> (IW wrapper, VW valueWrapper) - Specified by:
match
in interfaceGuiComponentFactory<PrismPropertyPanelContext<ProtectedStringType>>
-
createPanel
public org.apache.wicket.Component createPanel(PrismPropertyPanelContext<ProtectedStringType> panelCtx) - Specified by:
createPanel
in interfaceGuiComponentFactory<PrismPropertyPanelContext<ProtectedStringType>>
-
isShowedOneLinePasswordPanel
protected boolean isShowedOneLinePasswordPanel() -
showProviderPanel
-
getOrder
- Specified by:
getOrder
in interfaceGuiComponentFactory<PrismPropertyPanelContext<ProtectedStringType>>
-
configure
public void configure(PrismPropertyPanelContext<ProtectedStringType> panelCtx, org.apache.wicket.Component component) - Specified by:
configure
in interfaceGuiComponentFactory<PrismPropertyPanelContext<ProtectedStringType>>
-