|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface STRParser
This interface describes a pluggable way of extracting credentials from SecurityTokenReference elements. The implementations are used by various processors.
Method Summary | |
---|---|
java.security.cert.X509Certificate[] |
getCertificates()
Get the X509Certificates associated with this SecurityTokenReference |
java.security.Principal |
getPrincipal()
Get the Principal associated with this SecurityTokenReference |
java.security.PublicKey |
getPublicKey()
Get the PublicKey associated with this SecurityTokenReference |
byte[] |
getSecretKey()
Get the Secret Key associated with this SecurityTokenReference |
boolean |
isTrustedCredential()
Get whether the returned credential is already trusted or not. |
void |
parseSecurityTokenReference(org.w3c.dom.Element strElement,
RequestData data,
WSDocInfo wsDocInfo,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Parse a SecurityTokenReference element and extract credentials. |
Method Detail |
---|
void parseSecurityTokenReference(org.w3c.dom.Element strElement, RequestData data, WSDocInfo wsDocInfo, java.util.Map<java.lang.String,java.lang.Object> parameters) throws WSSecurityException
strElement
- The SecurityTokenReference elementdata
- the RequestData associated with the requestwsDocInfo
- The WSDocInfo object to access previous processing resultsparameters
- A set of implementation-specific parameters
WSSecurityException
java.security.cert.X509Certificate[] getCertificates()
java.security.Principal getPrincipal()
java.security.PublicKey getPublicKey()
byte[] getSecretKey()
boolean isTrustedCredential()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |