|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.soap.security.WSSContextIn
WSSContextIn holds the ws-security configuration information for incoming messages.
Field Summary | |
protected java.util.Hashtable |
authenticatorNames
|
protected java.util.Vector |
authenticators
|
protected java.util.Vector |
authorizers
|
protected SecurityTokenFactory |
tokenFactory
|
Constructor Summary | |
WSSContextIn()
|
Method Summary | |
void |
addAuthenticator(IWSSAuthenticator authenticate)
Add an authentication requirement. |
void |
addAuthenticator(IWSSAuthenticator authenticate,
java.lang.String name)
|
void |
addGuard(IWSSGuard authorizer)
|
boolean |
authenticate(SOAPMessage message,
java.util.Vector tokenList,
java.util.Vector principalList)
Authenticate the message by giving each configured authenticator a chance to scan the message for information that identifies a principal. |
java.util.Enumeration |
authenticators()
Return an enumeration over the current set of authenticators. |
boolean |
authorize(SOAPMessage message,
java.util.Vector signatures,
java.util.Vector encryptions,
java.util.Vector principalList)
|
IWSSAuthenticator |
getAuthenticatorByName(java.lang.String name)
|
SecurityTokenFactory |
getTokenFactory()
Return the context's associated token factory. |
java.util.Enumeration |
guards()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SecurityTokenFactory tokenFactory
protected java.util.Vector authenticators
protected java.util.Hashtable authenticatorNames
protected java.util.Vector authorizers
Constructor Detail |
public WSSContextIn()
Method Detail |
public SecurityTokenFactory getTokenFactory()
public void addAuthenticator(IWSSAuthenticator authenticate)
authenticate
- public void addAuthenticator(IWSSAuthenticator authenticate, java.lang.String name)
authenticate
- name
- public IWSSAuthenticator getAuthenticatorByName(java.lang.String name)
name
-
public java.util.Enumeration authenticators()
public boolean authenticate(SOAPMessage message, java.util.Vector tokenList, java.util.Vector principalList)
message
- tokenList
- ws-security tokens parsed from soap headersprincipalList
- return holder for authenticated principalspublic void addGuard(IWSSGuard authorizer)
public boolean authorize(SOAPMessage message, java.util.Vector signatures, java.util.Vector encryptions, java.util.Vector principalList)
message
- signatures
- principalList
-
public java.util.Enumeration guards()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |