|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.services.security.auth.ExtractorUtil
public final class ExtractorUtil
Util class for operations common to security extractors.
| Method Summary | ||
|---|---|---|
static void |
addAuthRequestToMessage(AuthenticationRequest authRequest,
Message message)
This method will add the passed-in AuthenticationRequest to the Message context. |
|
static
|
extract(T payload,
java.util.Set<SecurityInfoExtractor<T>> extractors)
This method will try to extract security information from the passed-in payload of type T. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> AuthenticationRequest extract(T payload,
java.util.Set<SecurityInfoExtractor<T>> extractors)
throws ExtractionException
AuthenticationRequest that it populated returned.
T - The type of the payload.payload - The payload that will be of type Textractors - The extractors to extract security information from.
AuthenticationRequest A populated AuthenticationReqeust or null if no security information was extracted.
ExtractionException
public static void addAuthRequestToMessage(AuthenticationRequest authRequest,
Message message)
throws SecurityServiceException
AuthenticationRequest to the Message context.
authRequest - The AuthenticationRequest to add to the Message contextmessage - The ESB Message object instance.
SecurityServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||