| java.lang.Object com.sun.xml.wss.impl.WssProviderSecurityEnvironment
Method Summary | |
public boolean | authenticateUser(Map context, String username, String password) Authenticate the user against a list of known username-password
pairs. | public boolean | authenticateUser(Map context, String username, String passwordDigest, String nonce, String created) Authenticate the user given the password digest. | public CallbackHandler | getCallbackHandler() | public X509Certificate | getCertificate(Map context, String alias, boolean forSigning) | public X509Certificate | getCertificate(Map context, BigInteger serialNumber, String issuerName) | public X509Certificate | getCertificate(String keyIdentifier) | public X509Certificate | getCertificate(Map context, byte[] ski) | public X509Certificate | getCertificate(Map context, PublicKey publicKey, boolean forSign) | public X509Certificate | getCertificate(Map context, byte[] identifier, String valueType) | public X509Certificate | getDefaultCertificate(Map context) Retrieves a reasonable default value for the current user's
X509Certificate if one exists. | public X509Certificate | getMatchingCertificate(Map context, byte[] keyIdMatch) | public X509Certificate | getMatchingCertificate(Map context, BigInteger serialNumber, String issuerName) | public X509Certificate | getMatchingCertificate(Map context, byte[] keyIdMatch, String valueType) | public String | getPassword(Map context) | public PrivateKey | getPrivateKey(Map context, String alias) | public PrivateKey | getPrivateKey(Map context, byte[] keyIdentifier) | public PrivateKey | getPrivateKey(Map context, X509Certificate cert) | public PrivateKey | getPrivateKey(Map context, BigInteger serialNumber, String issuerName) | public PrivateKey | getPrivateKey(Map context, PublicKey publicKey, boolean forSign) | public PrivateKey | getPrivateKey(Map context, byte[] keyIdentifier, String valueType) | public PublicKey | getPublicKey(Map context, BigInteger serialNumber, String issuerName) | public PublicKey | getPublicKey(String keyIdentifier) | public PublicKey | getPublicKey(Map context, byte[] keyIdentifier) | public PublicKey | getPublicKey(Map context, byte[] identifier, String valueType) | public Subject | getRequesterSubject(Map context) | public SecretKey | getSecretKey(Map context, String alias, boolean encryptMode) | public Subject | getSubject() | public Subject | getSubject(Map context) | public static byte[] | getThumbprintIdentifier(X509Certificate cert) | public String | getUsername(Map context) | public boolean | isSelfCertificate(X509Certificate cert) | public Element | locateSAMLAssertion(Map context, Element binding, String assertionId, Document ownerDoc) | public AuthenticationTokenPolicy.SAMLAssertionBinding | populateSAMLPolicy(Map fpcontext, AuthenticationTokenPolicy.SAMLAssertionBinding policy, DynamicApplicationContext context) | public void | setRequesterSubject(Subject subject, Map context) | public void | setSubject(Subject subject, Map context) | public void | updateOtherPartySubject(Subject subject, String username, String password) | public void | updateOtherPartySubject(Subject subject, X509Certificate cert) | public void | updateOtherPartySubject(Subject subject, Assertion assertion) | public void | updateOtherPartySubject(Subject subj, String encryptedKey) | public void | updateOtherPartySubject(Subject subject, Key secretKey) | public void | updateOtherPartySubject(Subject subject, XMLStreamReader assertion) | public void | updateOtherPartySubject(Subject subject, Subject bootStrapSubject) | public boolean | validateAndCacheNonce(String nonce, String created, long maxNonceAge) | public boolean | validateCertificate(X509Certificate cert) Validate an X509Certificate. | public void | validateCreationTime(Map context, String creationTime, long maxClockSkew, long timestampFreshnessLimit) | public void | validateSAMLAssertion(Map context, Element assertion) | public void | validateSAMLAssertion(Map context, XMLStreamReader assertion) | public boolean | validateSamlIssuer(String issuer) | public boolean | validateSamlUser(String user, String domain, String format) | public void | validateTimestamp(Map context, String created, String expires, long maxClockSkew, long freshnessLimit) | public void | validateTimestamp(Map context, Timestamp timestamp, long maxClockSkew, long freshnessLimit) |
MAX_CLOCK_SKEW | final protected long MAX_CLOCK_SKEW(Code) | | |
TIMESTAMP_FRESHNESS_LIMIT | final protected long TIMESTAMP_FRESHNESS_LIMIT(Code) | | |
USE_DAEMON_THREAD | final static boolean USE_DAEMON_THREAD(Code) | | |
nonceCleanupTimer | final static Timer nonceCleanupTimer(Code) | | |
authenticateUser | public boolean authenticateUser(Map context, String username, String password) throws XWSSecurityException(Code) | | Authenticate the user against a list of known username-password
pairs.
Parameters: username - Parameters: password - true if the username-password pair is valid |
authenticateUser | public boolean authenticateUser(Map context, String username, String passwordDigest, String nonce, String created) throws XWSSecurityException(Code) | | Authenticate the user given the password digest.
Parameters: username - Parameters: passwordDigest - Parameters: nonce - Parameters: created - true if the password digest is valid |
getDefaultCertificate | public X509Certificate getDefaultCertificate(Map context) throws XWSSecurityException(Code) | | Retrieves a reasonable default value for the current user's
X509Certificate if one exists.
the default certificate for the current user Parameters: keyIdentifier - an Opaque identifier indicatingthe X509 certificate. throws: XWSSecurityException - |
setRequesterSubject | public void setRequesterSubject(Subject subject, Map context)(Code) | | |
updateOtherPartySubject | public void updateOtherPartySubject(Subject subj, String encryptedKey)(Code) | | |
updateOtherPartySubject | public void updateOtherPartySubject(Subject subject, Key secretKey)(Code) | | |
updateOtherPartySubject | public void updateOtherPartySubject(Subject subject, Subject bootStrapSubject)(Code) | | |
validateSamlIssuer | public boolean validateSamlIssuer(String issuer)(Code) | | |
|
|