Package com.storedobject.ui
Class RedirectSAML
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.littemplate.LitTemplate
com.storedobject.helper.LitComponent
com.storedobject.ui.RedirectSAML
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.internal.Template,- Serializable
@Tag("so-redirect-saml")
@JsModule("./so/saml-redirect/saml-redirect.js")
public class RedirectSAML
extends LitComponent
Class used to redirect the user to another site via SAML authentication.
- Author:
- Syam
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidgo()Go to the new site by submitting the SAML response to the site set via @{link #setSite(String)}.voidsetRelayState(String relayState) Set the relay state (optional).voidsetSAMLResponse(String samlResponse) Set SAML response.voidSet site to which SAML response should be sent.Methods inherited from class com.storedobject.helper.LitComponentexecuteJS, onDetachMethods inherited from class com.vaadin.flow.component.littemplate.LitTemplategetChildrenMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Constructor Details- 
RedirectSAMLpublic RedirectSAML()Constructor.
 
- 
- 
Method Details- 
setRelayStateSet the relay state (optional).- Parameters:
- relayState- Relay state to set.
 
- 
setSAMLResponseSet SAML response. Please make sure that you pass a valid Base64 encoded SAML response block.- Parameters:
- samlResponse- SAML response to set.
 
- 
setSiteSet site to which SAML response should be sent.- Parameters:
- site- Site.
 
- 
gopublic void go()Go to the new site by submitting the SAML response to the site set via @{link #setSite(String)}. The application may get redirected based on the response from the site.
 
-