DefaultIdentityAssertionProvider Class

com.bea.wsrp.security
DefaultIdentityAssertionProvider Class

public class DefaultIdentityAssertionProvider

    extends Object
    implements IdentityAssertionProvider

Default implementation of IdentityAssertionProvider.


Hierarchy
Object
  DefaultIdentityAssertionProvider
All Implemented Interfaces

IdentityAssertionProvider

Constructor Summary

DefaultIdentityAssertionProvider()

 

Method Summary

public AssertionDocument
createAssertion(Principal principal, String consumerName)

Creates a SAML identity assertion.

public void
init(String keystorePath, String keystorePassword, String certAlias, String privateKeyPassword)

Initializes the keystore for generating and validating identity assertion tokens.

public boolean
validateAssertion(AssertionType assertion)

Validates a SAML assertion.

 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.wsrp.security.IdentityAssertionProvider
createAssertion, init, validateAssertion
 

Constructor Detail

DefaultIdentityAssertionProvider

public DefaultIdentityAssertionProvider()
 

Method Detail

createAssertion(Principal, String) Method

public AssertionDocument createAssertion(Principal principal, 
                                         String consumerName)
throws IOException, XmlException, NoSuchAlgorithmException
Description copied from IdentityAssertionProvider.createAssertion(Principal, String)

Creates a SAML identity assertion.

Exceptions

IOException
XmlException
NoSuchAlgorithmException

init(String, String, String, String) Method

public void init(String keystorePath, 
                 String keystorePassword, 
                 String certAlias, 
                 String privateKeyPassword)
Description copied from IdentityAssertionProvider.init(String, String, String, String)

Initializes the keystore for generating and validating identity assertion tokens.


validateAssertion(AssertionType) Method

public boolean validateAssertion(AssertionType assertion)
throws IdentityAssertionException
Description copied from IdentityAssertionProvider.validateAssertion(AssertionType)

Validates a SAML assertion.

Exceptions

IdentityAssertionException