com.sun.identity.saml2.protocol
Interface AuthnRequest

All Superinterfaces:
RequestAbstract

public interface AuthnRequest
extends RequestAbstract

The AuthnRequest interface defines methods for properties required by an authentication request.


Method Summary
 java.lang.Integer getAssertionConsumerServiceIndex()
          Returns the value of the AssertionConsumerServiceIndex attribute.
 java.lang.String getAssertionConsumerServiceURL()
          Returns the value of the AssertionConsumerServiceURL attribute.
 java.lang.Integer getAttributeConsumingServiceIndex()
          Returns the value of the AttributeConsumingServiceIndex attribute.
 Conditions getConditions()
          Returns the Conditions object.
 NameIDPolicy getNameIDPolicy()
          Returns the NameIDPolicy object.
 java.lang.String getProtocolBinding()
          Returns the value of the ProtocolBinding attribute.
 java.lang.String getProviderName()
          Returns the ProviderName attribute value.
 RequestedAuthnContext getRequestedAuthnContext()
          Returns the RequestedAuthnContext object.
 Scoping getScoping()
          Returns the Scoping object.
 Subject getSubject()
          Returns the Subject object.
 java.lang.Boolean isForceAuthn()
          Returns value of isForceAuthn attribute.
 java.lang.Boolean isPassive()
          Returns the value of the isPassive attribute.
 void setAssertionConsumerServiceIndex(java.lang.Integer index)
          Sets the value of the AssertionConsumerServiceIndex attribute.
 void setAssertionConsumerServiceURL(java.lang.String url)
          Sets the value of the AssertionConsumerServiceURL attribute.
 void setAttributeConsumingServiceIndex(java.lang.Integer index)
          Sets the value of the AttributeConsumingServiceIndex attribute.
 void setConditions(Conditions conditions)
          Sets the Conditions object.
 void setForceAuthn(java.lang.Boolean value)
          Sets the value of the ForceAuthn attribute.
 void setIsPassive(java.lang.Boolean value)
          Sets the value of the IsPassive attribute.
 void setNameIDPolicy(NameIDPolicy nameIDPolicy)
          Sets the NameIDPolicy object.
 void setProtocolBinding(java.lang.String protocolBinding)
          Sets the value of the ProtocolBinding attribute.
 void setProviderName(java.lang.String providerName)
          Sets the ProviderName attribute value.
 void setRequestedAuthnContext(RequestedAuthnContext reqAuthnContext)
          Sets the RequestedAuthnContext.
 void setScoping(Scoping scoping)
          Sets the Scoping object.
 void setSubject(Subject subject)
          Sets the Subject object.
 
Methods inherited from interface com.sun.identity.saml2.protocol.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString
 

Method Detail

getSubject

public Subject getSubject()
Returns the Subject object.

Returns:
the Subject object.
See Also:
setSubject(Subject)

setSubject

public void setSubject(Subject subject)
                throws SAML2Exception
Sets the Subject object.

Parameters:
subject - the new Subject object.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getSubject()

getNameIDPolicy

public NameIDPolicy getNameIDPolicy()
Returns the NameIDPolicy object.

Returns:
the NameIDPolicy object.
See Also:
setNameIDPolicy(NameIDPolicy)

setNameIDPolicy

public void setNameIDPolicy(NameIDPolicy nameIDPolicy)
                     throws SAML2Exception
Sets the NameIDPolicy object.

Parameters:
nameIDPolicy - the new NameIDPolicy object.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getNameIDPolicy()

getConditions

public Conditions getConditions()
Returns the Conditions object.

Returns:
the Conditions object.
See Also:
setConditions(Conditions)

setConditions

public void setConditions(Conditions conditions)
                   throws SAML2Exception
Sets the Conditions object.

Parameters:
conditions - the new Conditions object.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getConditions()

getRequestedAuthnContext

public RequestedAuthnContext getRequestedAuthnContext()
Returns the RequestedAuthnContext object.

Returns:
the RequestAuthnContext object.
See Also:
setRequestedAuthnContext(RequestedAuthnContext)

setRequestedAuthnContext

public void setRequestedAuthnContext(RequestedAuthnContext reqAuthnContext)
                              throws SAML2Exception
Sets the RequestedAuthnContext.

Parameters:
reqAuthnContext - the new RequestedAuthnContext object.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getRequestedAuthnContext()

setScoping

public void setScoping(Scoping scoping)
                throws SAML2Exception
Sets the Scoping object.

Parameters:
scoping - the new Scoping Object.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getScoping()

getScoping

public Scoping getScoping()
Returns the Scoping object.

Returns:
the Scoping object.
See Also:
setScoping(Scoping)

isForceAuthn

public java.lang.Boolean isForceAuthn()
Returns value of isForceAuthn attribute.

Returns:
value of isForceAuthn attribute.

setForceAuthn

public void setForceAuthn(java.lang.Boolean value)
                   throws SAML2Exception
Sets the value of the ForceAuthn attribute.

Parameters:
value - the value of ForceAuthn attribute.
Throws:
SAML2Exception - if the object is immutable.

isPassive

public java.lang.Boolean isPassive()
Returns the value of the isPassive attribute.

Returns:
value of isPassive attribute.

setIsPassive

public void setIsPassive(java.lang.Boolean value)
                  throws SAML2Exception
Sets the value of the IsPassive attribute.

Parameters:
value - Value of IsPassive attribute.
Throws:
SAML2Exception - if the object is immutable.

setProtocolBinding

public void setProtocolBinding(java.lang.String protocolBinding)
                        throws SAML2Exception
Sets the value of the ProtocolBinding attribute.

Parameters:
protocolBinding - value of the ProtocolBinding attribute.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getProtocolBinding()

getProtocolBinding

public java.lang.String getProtocolBinding()
Returns the value of the ProtocolBinding attribute.

Returns:
the value of ProtocolBinding attribute.
See Also:
setProtocolBinding(String)

getAssertionConsumerServiceURL

public java.lang.String getAssertionConsumerServiceURL()
Returns the value of the AssertionConsumerServiceURL attribute.

Returns:
the value of AssertionConsumerServiceURL attribute.
See Also:
setAssertionConsumerServiceURL(String)

setAssertionConsumerServiceURL

public void setAssertionConsumerServiceURL(java.lang.String url)
                                    throws SAML2Exception
Sets the value of the AssertionConsumerServiceURL attribute.

Parameters:
url - the value of AssertionConsumerServiceURL attribute.
Throws:
SAML2Exception - if the object is immutable.
See Also:
#getAssertionConsumingServiceURL

getAssertionConsumerServiceIndex

public java.lang.Integer getAssertionConsumerServiceIndex()
Returns the value of the AssertionConsumerServiceIndex attribute.

Returns:
value of the AssertionConsumerServiceIndex attribute.
See Also:
#setAssertionConsumingServiceIndex(Integer)

setAssertionConsumerServiceIndex

public void setAssertionConsumerServiceIndex(java.lang.Integer index)
                                      throws SAML2Exception
Sets the value of the AssertionConsumerServiceIndex attribute.

Parameters:
index - value of the AssertionConsumerServiceIndex attribute.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getAssertionConsumerServiceIndex()

getAttributeConsumingServiceIndex

public java.lang.Integer getAttributeConsumingServiceIndex()
Returns the value of the AttributeConsumingServiceIndex attribute.

Returns:
value of the AttributeConsumingServiceIndex attribute.
See Also:
setAttributeConsumingServiceIndex(Integer)

setAttributeConsumingServiceIndex

public void setAttributeConsumingServiceIndex(java.lang.Integer index)
                                       throws SAML2Exception
Sets the value of the AttributeConsumingServiceIndex attribute.

Parameters:
index - value of the AttributeConsumingServiceIndex attribute.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getAttributeConsumingServiceIndex()

setProviderName

public void setProviderName(java.lang.String providerName)
                     throws SAML2Exception
Sets the ProviderName attribute value.

Parameters:
providerName - value of the ProviderName attribute.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getProviderName()

getProviderName

public java.lang.String getProviderName()
Returns the ProviderName attribute value.

Returns:
value of the ProviderName attribute value.
See Also:
setProviderName(String)


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.