org.apache.ws.security.saml
Interface SAMLIssuer

All Known Implementing Classes:
SAMLIssuerImpl

public interface 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]).

Method Summary
 CallbackHandler getCallbackHandler()
          Get the CallbackHandler in use
 Crypto getIssuerCrypto()
           
 String getIssuerKeyName()
           
 String getIssuerKeyPassword()
           
 String getIssuerName()
          Get the issuer name
 boolean isSendKeyValue()
          Get whether to send the key value or whether to include the entire cert.
 boolean isSignAssertion()
          Get whether to sign the assertion or not
 AssertionWrapper newAssertion()
          Creates a new AssertionWrapper.
 void setCallbackHandler(CallbackHandler callbackHandler)
          Set the CallbackHandler to use
 void setIssuerCrypto(Crypto issuerCrypto)
          Set the issuer crypto
 void setIssuerKeyName(String issuerKeyName)
          Set the issuer key name
 void setIssuerKeyPassword(String issuerKeyPassword)
          Set the issuer key password
 void setIssuerName(String issuer)
          Set the issuer name
 void setSendKeyValue(boolean sendKeyValue)
          Set whether to send the key value or whether to include the entire cert.
 void setSignAssertion(boolean signAssertion)
          Set whether to sign the assertion or not.
 

Method Detail

newAssertion

AssertionWrapper newAssertion()
                              throws WSSecurityException
Creates a new AssertionWrapper. A complete AssertionWrapper is constructed.

Returns:
AssertionWrapper
Throws:
WSSecurityException

setSendKeyValue

void setSendKeyValue(boolean sendKeyValue)
Set whether to send the key value or whether to include the entire cert.

Parameters:
sendKeyValue - whether to send the key value.

isSendKeyValue

boolean isSendKeyValue()
Get whether to send the key value or whether to include the entire cert.

Returns:
whether to send the key value

setSignAssertion

void setSignAssertion(boolean signAssertion)
Set whether to sign the assertion or not.

Parameters:
signAssertion - whether to sign the assertion or not.

isSignAssertion

boolean isSignAssertion()
Get whether to sign the assertion or not

Returns:
whether to sign the assertion or not

setCallbackHandler

void setCallbackHandler(CallbackHandler callbackHandler)
Set the CallbackHandler to use

Parameters:
callbackHandler - the CallbackHandler to use

getCallbackHandler

CallbackHandler getCallbackHandler()
Get the CallbackHandler in use

Returns:
the CallbackHandler in use

setIssuerCrypto

void setIssuerCrypto(Crypto issuerCrypto)
Set the issuer crypto

Parameters:
issuerCrypto - the issuer crypto

getIssuerCrypto

Crypto getIssuerCrypto()
Returns:
Returns the issuerCrypto.

setIssuerName

void setIssuerName(String issuer)
Set the issuer name

Parameters:
issuer - the issuer name

getIssuerName

String getIssuerName()
Get the issuer name

Returns:
the issuer name

setIssuerKeyName

void setIssuerKeyName(String issuerKeyName)
Set the issuer key name

Parameters:
issuerKeyName - the issuer key name

getIssuerKeyName

String getIssuerKeyName()
Returns:
Returns the issuerKeyName.

setIssuerKeyPassword

void setIssuerKeyPassword(String issuerKeyPassword)
Set the issuer key password

Parameters:
issuerKeyPassword - the issuerKeyPassword.

getIssuerKeyPassword

String getIssuerKeyPassword()
Returns:
Returns the issuerKeyPassword.


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