|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
| 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 | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface weblogic.xml.crypto.wss.provider.SecurityTokenHandler |
|---|
validateProcessed, validateUnmarshalled |
| 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)
throws WSSecurityException
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)
throws WSSecurityException
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)
throws WSSecurityException
getSTR in interface SecurityTokenHandlerSTRType - type of security token referencevalueType - SAML_VALUE_TYPEtoken - saml token
WSSecurityException
public SecurityToken newSecurityToken(Node node)
throws MarshalException
newSecurityToken in interface SecurityTokenHandlernode - node of saml assertion
MarshalException
public SecurityTokenReference newSecurityTokenReference(Node node)
throws MarshalException
newSecurityTokenReference in interface SecurityTokenHandlernode - node of saml assertion
MarshalException - occurs during process
public KeyProvider getKeyProvider(SecurityToken token,
MessageContext ctx)
getKeyProvider in interface SecurityTokenHandlertoken - saml tokenctx - message context
public SecurityToken getSecurityToken(SecurityTokenReference str,
MessageContext ctx)
throws WSSecurityException
getSecurityToken in interface SecurityTokenHandlerstr - SecurityTokenReference of saml tokenctx - message context
WSSecurityException - occurs during process
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)
throws WSSecurityException
getSubject in interface SecurityTokenHandlertoken - saml tokenmsgCtx - message context
WSSecurityException - occurs during process
|
Copyright 1996, 2013, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||