Class AbstractRequestGeneratorInput
- java.lang.Object
-
- se.litsec.opensaml.saml2.common.request.AbstractRequestGeneratorInput
-
- All Implemented Interfaces:
RequestGeneratorInput
public abstract class AbstractRequestGeneratorInput extends Object implements RequestGeneratorInput
Abstract base class for request generator input.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Constructor Summary
Constructors Constructor Description AbstractRequestGeneratorInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPeerEntityID()
Returns the peer (IdP) entityID.String
getPreferredBinding()
If the caller prefers a specific binding to use, this method should return that.String
getRelayState()
Returns the relay state variable to use.void
setPeerEntityID(String peerEntityID)
Assigns the peer (IdP) entityID.void
setPreferredBinding(String preferredBinding)
Assigns the preferred binding to use for the request.void
setRelayState(String relayState)
Assigns the relay state for the request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface se.litsec.opensaml.saml2.common.request.RequestGeneratorInput
getOverrideSigningCredential
-
-
-
-
Method Detail
-
getRelayState
public String getRelayState()
Returns the relay state variable to use.- Specified by:
getRelayState
in interfaceRequestGeneratorInput
- Returns:
- relay state
-
setRelayState
public void setRelayState(String relayState)
Assigns the relay state for the request.- Parameters:
relayState
- the relay state, ornull
-
getPeerEntityID
public String getPeerEntityID()
Returns the peer (IdP) entityID.- Specified by:
getPeerEntityID
in interfaceRequestGeneratorInput
- Returns:
- the entityID
-
setPeerEntityID
public void setPeerEntityID(String peerEntityID)
Assigns the peer (IdP) entityID.- Parameters:
peerEntityID
- the entityID
-
getPreferredBinding
public String getPreferredBinding()
If the caller prefers a specific binding to use, this method should return that. Otherwise the request generator its own default.- Specified by:
getPreferredBinding
in interfaceRequestGeneratorInput
- Returns:
- the preferred binding, or
null
if the generator default should apply
-
setPreferredBinding
public void setPreferredBinding(String preferredBinding)
Assigns the preferred binding to use for the request.- Parameters:
preferredBinding
- binding, ornull
-
-