Package org.apache.wss4j.dom.str
Interface STRParser
-
- All Known Implementing Classes:
DerivedKeyTokenSTRParser
,EncryptedKeySTRParser
,SecurityTokenRefSTRParser
,SignatureSTRParser
public interface STRParser
This interface describes a pluggable way of extracting credentials from SecurityTokenReference elements. The implementations are used by various processors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
STRParser.REFERENCE_TYPE
ISSUER_SERIAL - A certificate (chain) is located by the issuer name and serial number of the (root) cert THUMBPRINT_SHA1 - A certificate (chain) is located by the SHA1 thumbprint of the (root) cert KEY_IDENTIFIER - A certificate (chain) is located via a Key Identifier Element DIRECT_REF - A certificate (chain) is located directly via an Id to another security token Note that a Thumbprint reference is also a KeyIdentifier, but takes precedence over it.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description STRParserResult
parseSecurityTokenReference(STRParserParameters parameters)
Parse a SecurityTokenReference element and extract credentials.
-
-
-
Method Detail
-
parseSecurityTokenReference
STRParserResult parseSecurityTokenReference(STRParserParameters parameters) throws WSSecurityException
Parse a SecurityTokenReference element and extract credentials.- Parameters:
parameters
- The parameters to parse- Returns:
- the STRParserResult Object containing the parsing results
- Throws:
WSSecurityException
-
-