Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.wsee.security.saml
Class SAMLTrustTokenProvider

java.lang.Object
  extended by weblogic.wsee.security.saml.SAMLTrustTokenProvider
All Implemented Interfaces:
weblogic.wsee.security.wst.framework.TrustTokenProvider

public abstract class SAMLTrustTokenProvider
extends Object
implements weblogic.wsee.security.wst.framework.TrustTokenProvider


Constructor Summary
SAMLTrustTokenProvider()
           
 
Method Summary
 void cancelTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx, weblogic.wsee.security.wst.framework.TrustToken tt)
          Cancel an exsiting TrustToken
 SecurityTokenReference createSecurityTokenReference(weblogic.wsee.security.wst.framework.WSTContext wstCtx, weblogic.wsee.security.wst.framework.TrustToken st)
          Create a STR for the given TrustToken
protected  String getConfirmationMethod(String tokenType, String keyType)
           
 Object getKeyInfoCredential(AuthenticatedSubject as, WSSecurityContext secCtx)
           
 SAMLAttributeStatementData getSAMLAttributeData(boolean isSAML2, String url, Subject as, WSSecurityContext wsSecurityContext)
           
 X509Certificate getServerEncryptionCert(boolean isSAML2, String url, WSSecurityContext wsSecurityContext)
           
 weblogic.wsee.security.wst.framework.TrustToken issueTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx)
          Issue a security token from this trust identity provider
 weblogic.wsee.security.wst.framework.TrustToken renewTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx, weblogic.wsee.security.wst.framework.TrustToken tt)
          Renew an existing TrustToken with new expiration
 weblogic.wsee.security.wst.framework.TrustToken resolveTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx, SecurityTokenReference str)
          Resolve the TrustToken based on the given SecurityTokenReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLTrustTokenProvider

public SAMLTrustTokenProvider()
Method Detail

issueTrustToken

public weblogic.wsee.security.wst.framework.TrustToken issueTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx)
                                                                throws weblogic.wsee.security.wst.faults.WSTFaultException
Description copied from interface: weblogic.wsee.security.wst.framework.TrustTokenProvider
Issue a security token from this trust identity provider

Specified by:
issueTrustToken in interface weblogic.wsee.security.wst.framework.TrustTokenProvider
Parameters:
wstCtx - trust context
Returns:
a TrustToken based on the context
Throws:
weblogic.wsee.security.wst.faults.WSTFaultException - occurs during processing RST

getConfirmationMethod

protected String getConfirmationMethod(String tokenType,
                                       String keyType)

getSAMLAttributeData

public SAMLAttributeStatementData getSAMLAttributeData(boolean isSAML2,
                                                       String url,
                                                       Subject as,
                                                       WSSecurityContext wsSecurityContext)

getServerEncryptionCert

public X509Certificate getServerEncryptionCert(boolean isSAML2,
                                               String url,
                                               WSSecurityContext wsSecurityContext)
                                        throws Exception
Throws:
Exception

renewTrustToken

public weblogic.wsee.security.wst.framework.TrustToken renewTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx,
                                                                       weblogic.wsee.security.wst.framework.TrustToken tt)
                                                                throws weblogic.wsee.security.wst.faults.WSTFaultException
Description copied from interface: weblogic.wsee.security.wst.framework.TrustTokenProvider
Renew an existing TrustToken with new expiration

Specified by:
renewTrustToken in interface weblogic.wsee.security.wst.framework.TrustTokenProvider
Parameters:
wstCtx - trust context
tt - SecurityTokenReference refers to the TrustToken to be renewed
Throws:
weblogic.wsee.security.wst.faults.WSTFaultException - occurs during processing RST

cancelTrustToken

public void cancelTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx,
                             weblogic.wsee.security.wst.framework.TrustToken tt)
                      throws weblogic.wsee.security.wst.faults.WSTFaultException
Description copied from interface: weblogic.wsee.security.wst.framework.TrustTokenProvider
Cancel an exsiting TrustToken

Specified by:
cancelTrustToken in interface weblogic.wsee.security.wst.framework.TrustTokenProvider
Parameters:
wstCtx - trust context
tt - TrustToken to cancel
Throws:
weblogic.wsee.security.wst.faults.WSTFaultException - occurs during processing RST

createSecurityTokenReference

public SecurityTokenReference createSecurityTokenReference(weblogic.wsee.security.wst.framework.WSTContext wstCtx,
                                                           weblogic.wsee.security.wst.framework.TrustToken st)
                                                    throws weblogic.wsee.security.wst.faults.WSTFaultException
Description copied from interface: weblogic.wsee.security.wst.framework.TrustTokenProvider
Create a STR for the given TrustToken

Specified by:
createSecurityTokenReference in interface weblogic.wsee.security.wst.framework.TrustTokenProvider
Parameters:
wstCtx - trust context
st - TrustToken to create STR from
Returns:
STR
Throws:
weblogic.wsee.security.wst.faults.WSTFaultException - occurs during STR creation

resolveTrustToken

public weblogic.wsee.security.wst.framework.TrustToken resolveTrustToken(weblogic.wsee.security.wst.framework.WSTContext wstCtx,
                                                                         SecurityTokenReference str)
                                                                  throws weblogic.wsee.security.wst.faults.WSTFaultException
Description copied from interface: weblogic.wsee.security.wst.framework.TrustTokenProvider
Resolve the TrustToken based on the given SecurityTokenReference

Specified by:
resolveTrustToken in interface weblogic.wsee.security.wst.framework.TrustTokenProvider
str - SecurityTokenReference that used to resolve the trust token
Returns:
The resolved TrustToken
Throws:
weblogic.wsee.security.wst.faults.WSTFaultException - occurs during process

getKeyInfoCredential

public Object getKeyInfoCredential(AuthenticatedSubject as,
                                   WSSecurityContext secCtx)

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04