Class CtlCASLoginButton

java.lang.Object
com.axemble.vdp.ui.framework.foundation.Component
com.axemble.vdp.ui.framework.foundation.Widget
com.axemble.vdp.ui.framework.widgets.CtlAbstractAction
com.axemble.vdp.ui.framework.widgets.CtlButton
com.vdoc.sdk.commons.ui.widget.CtlCASLoginButton
All Implemented Interfaces:
IWidget, IWritable, IButton, INamedWidget, com.axemble.vdp.utils.parameters.ParamsHandler, Serializable

public class CtlCASLoginButton extends com.axemble.vdp.ui.framework.widgets.CtlButton
Graphical component for CAS Login Button Created by vmartinon on 27/03/2015.
See Also:
  • Field Details

    • casUrl

      protected String casUrl
    • serviceUrl

      protected String serviceUrl
    • userLoginID

      protected String userLoginID
    • userPasswordID

      protected String userPasswordID
    • casRedirectJSP

      protected String casRedirectJSP
  • Constructor Details

    • CtlCASLoginButton

      public CtlCASLoginButton(String name, String casUrl, String serviceUrl)
      Constructor
      Parameters:
      name - the button's name
      casUrl - the cas url
      serviceUrl - the service url
    • CtlCASLoginButton

      public CtlCASLoginButton(String name, com.axemble.vdp.ui.framework.widgets.CtlText label, String casUrl, String serviceUrl)
      Constructor
      Parameters:
      name - the button's name
      label - the button's label
      casUrl - the cas url
      serviceUrl - the service url
  • Method Details

    • getCasUrl

      public String getCasUrl()
      get casUrl property
      Returns:
      get the casUrl property
    • setCasUrl

      public void setCasUrl(String casUrl)
      set casUrl property
      Parameters:
      casUrl - set the casUrl property
    • getServiceUrl

      public String getServiceUrl()
      get serviceUrl property
      Returns:
      get the serviceUrl property
    • setServiceUrl

      public void setServiceUrl(String serviceUrl)
      set serviceUrl property
      Parameters:
      serviceUrl - set the serviceUrl property
    • getUserLoginID

      public String getUserLoginID()
      get userLoginID property
      Returns:
      get the userLoginID property
    • setUserLoginID

      public void setUserLoginID(String userLoginID)
      set userLoginID property
      Parameters:
      userLoginID - set the userLoginID property
    • getUserPasswordID

      public String getUserPasswordID()
      get userPasswordID property
      Returns:
      get the userPasswordID property
    • setUserPasswordID

      public void setUserPasswordID(String userPasswordID)
      set userPasswordID property
      Parameters:
      userPasswordID - set the userPasswordID property
    • getCasRedirectJSP

      public String getCasRedirectJSP()
      get casRedirectJSP property
      Returns:
      get the casRedirectJSP property
    • setCasRedirectJSP

      public void setCasRedirectJSP(String casRedirectJSP)
      set casRedirectJSP property
      Parameters:
      casRedirectJSP - set the casRedirectJSP property
    • render

      public IWritable render() throws RenderException
      Description copied from interface: IWidget
      Render the widget
      Specified by:
      render in interface IWidget
      Overrides:
      render in class com.axemble.vdp.ui.framework.widgets.CtlButton
      Returns:
      writableWidget
      Throws:
      RenderException
    • getTemplateWriter

      protected final com.axemble.vdp.ui.framework.template.TemplateWriter getTemplateWriter(String relativePath) throws RenderException
      Parameters:
      relativePath -
      Returns:
      Throws:
      RenderException