org.apache.ws.security.saml
Class SAMLIssuerImpl

java.lang.Object
  extended byorg.apache.ws.security.saml.SAMLIssuerImpl
All Implemented Interfaces:
SAMLIssuer

public class SAMLIssuerImpl
extends java.lang.Object
implements SAMLIssuer

Builds a WS SAML Assertion and inserts it into the SOAP Envelope. Refer to the WS specification, SAML Token profile

Author:
Davanum Srinivas ([email protected]).

Constructor Summary
SAMLIssuerImpl()
          Constructor.
SAMLIssuerImpl(java.util.Properties prop)
           
 
Method Summary
 Crypto getIssuerCrypto()
           
 java.lang.String getIssuerKeyName()
           
 java.lang.String getIssuerKeyPassword()
           
 boolean isSenderVouches()
           
 org.opensaml.SAMLAssertion newAssertion()
          Creates a new SAMLAssertion.
 void setInstanceDoc(org.w3c.dom.Document instanceDoc)
           
 void setUserCrypto(Crypto userCrypto)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLIssuerImpl

public SAMLIssuerImpl()
Constructor.


SAMLIssuerImpl

public SAMLIssuerImpl(java.util.Properties prop)
Method Detail

newAssertion

public org.opensaml.SAMLAssertion newAssertion()
Creates a new SAMLAssertion.

A complete SAMLAssertion is constructed.

Specified by:
newAssertion in interface SAMLIssuer
Returns:
SAMLAssertion

setUserCrypto

public void setUserCrypto(Crypto userCrypto)
Specified by:
setUserCrypto in interface SAMLIssuer
Parameters:
userCrypto - The userCrypto to set.

setUsername

public void setUsername(java.lang.String username)
Specified by:
setUsername in interface SAMLIssuer
Parameters:
username - The username to set.

getIssuerCrypto

public Crypto getIssuerCrypto()
Specified by:
getIssuerCrypto in interface SAMLIssuer
Returns:
Returns the issuerCrypto.

getIssuerKeyName

public java.lang.String getIssuerKeyName()
Specified by:
getIssuerKeyName in interface SAMLIssuer
Returns:
Returns the issuerKeyName.

getIssuerKeyPassword

public java.lang.String getIssuerKeyPassword()
Specified by:
getIssuerKeyPassword in interface SAMLIssuer
Returns:
Returns the issuerKeyPassword.

isSenderVouches

public boolean isSenderVouches()
Specified by:
isSenderVouches in interface SAMLIssuer
Returns:
Returns the senderVouches.

setInstanceDoc

public void setInstanceDoc(org.w3c.dom.Document instanceDoc)
Specified by:
setInstanceDoc in interface SAMLIssuer
Parameters:
instanceDoc - The instanceDoc to set.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.