|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.wsee.security.saml.AbstractSAMLTokenHandler
public abstract class AbstractSAMLTokenHandler
Token handler of both SAML 2.0 and SAML 1.1 token User: sychang Date: July 25, 2006 Time: 12:58:51 PM
| Constructor Summary | |
|---|---|
AbstractSAMLTokenHandler()
default constructor |
|
| Method Summary | |
|---|---|
weblogic.xml.crypto.common.keyinfo.KeyProvider |
getKeyProvider(SecurityToken token,
MessageContext ctx)
get the saml key provider |
abstract QName[] |
getQNames()
get QNames of saml assertion |
SecurityToken |
getSecurityToken(SecurityTokenReference str,
MessageContext ctx)
get security token based on referenece |
SecurityToken |
getSecurityToken(String valueType,
Object credentials,
ContextHandler ctxHandler)
create a new SAML token that can be either SAML TP 1.0 or 1.1 value types |
SecurityToken |
getSecurityToken(String valueType,
String issuer,
Purpose p,
ContextHandler ctxHandler)
Get the Security token from context handler base on the value type. |
SecurityTokenReference |
getSTR(QName STRType,
String valueType,
SecurityToken token)
new saml token reference |
Subject |
getSubject(SecurityToken token,
MessageContext msgCtx)
Get authenticated subject from saml token |
abstract String[] |
getValueTypes()
SAML value types |
abstract boolean |
isSaml2()
|
abstract boolean |
isSupportedTokenType(String tokenType)
|
abstract boolean |
isSupportedValueType(String valueType)
|
boolean |
matches(SecurityToken token,
String tokenType,
String issuerName,
ContextHandler ctxHandler,
Purpose p)
check if the token should be handled by saml token handler |
SecurityToken |
newSecurityToken(Node node)
Create a new SAML token. |
SecurityTokenReference |
newSecurityTokenReference(Node node)
Create a new securityTokenReference of given saml assertion |
SecurityTokenValidateResult |
validateProcessed(SecurityToken token,
MessageContext ctx)
get SecurityTokenValidateResult of processed token |
SecurityTokenValidateResult |
validateUnmarshalled(SecurityToken token,
MessageContext ctx)
get SecurityTokenValidateResult for unmarshalled token |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSAMLTokenHandler()
| Method Detail |
|---|
public abstract QName[] getQNames()
getQNames in interface SecurityTokenHandlerpublic abstract String[] getValueTypes()
getValueTypes in interface SecurityTokenHandlerpublic abstract boolean isSupportedTokenType(String tokenType)
public abstract boolean isSupportedValueType(String valueType)
public abstract boolean isSaml2()
public SecurityToken getSecurityToken(String valueType,
Object credentials,
ContextHandler ctxHandler)
getSecurityToken in interface SecurityTokenHandlervalueType - saml token type can be either SAML TP 1.0 or 1.1 value typescredentials - saml credentialsctxHandler - context handler, it must to have the idecation of SAML 1.1 or SAML 2.0
WSSecurityException - occurs during process
public SecurityToken getSecurityToken(String valueType,
String issuer,
Purpose p,
ContextHandler ctxHandler)
getSecurityToken in interface SecurityTokenHandlervalueType - saml token type can be either SAML TP 1.0 or 1.1 value typesissuer - p - ctxHandler -
WSSecurityException
public SecurityTokenReference getSTR(QName STRType,
String valueType,
SecurityToken token)
getSTR in interface SecurityTokenHandlerSTRType - type of security token referencevalueType - SAML_VALUE_TYPEtoken - saml token
public SecurityToken newSecurityToken(Node node)
throws weblogic.xml.crypto.api.MarshalException
newSecurityToken in interface SecurityTokenHandlernode - node of saml assertion
weblogic.xml.crypto.api.MarshalException
public SecurityTokenReference newSecurityTokenReference(Node node)
throws weblogic.xml.dom.marshal.MarshalException
newSecurityTokenReference in interface SecurityTokenHandlernode - node of saml assertion
weblogic.xml.dom.marshal.MarshalException - occurs during process
public weblogic.xml.crypto.common.keyinfo.KeyProvider getKeyProvider(SecurityToken token,
MessageContext ctx)
getKeyProvider in interface SecurityTokenHandlertoken - saml tokenctx - message context
public SecurityToken getSecurityToken(SecurityTokenReference str,
MessageContext ctx)
getSecurityToken in interface SecurityTokenHandlerstr - SecurityTokenReference of saml tokenctx - message context
WSSecurityException - occurs during process
public SecurityTokenValidateResult validateUnmarshalled(SecurityToken token,
MessageContext ctx)
validateUnmarshalled in interface SecurityTokenHandlertoken - saml tokenctx - message context
public SecurityTokenValidateResult validateProcessed(SecurityToken token,
MessageContext ctx)
validateProcessed in interface SecurityTokenHandlertoken - saml tokenctx - message context
public boolean matches(SecurityToken token,
String tokenType,
String issuerName,
ContextHandler ctxHandler,
Purpose p)
matches in interface SecurityTokenHandlertoken - token to checktokenType - token type to checkissuerName - issuer of the saml tokenctxHandler - context handlerp - purpose
public Subject getSubject(SecurityToken token,
MessageContext msgCtx)
getSubject in interface SecurityTokenHandlertoken - saml tokenmsgCtx - message context
WSSecurityException - occurs during process
|
Copyright 1996, 2015, 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.6) Part Number E13941-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||