Class DiscoUtils
- java.lang.Object
-
- com.sun.identity.liberty.ws.disco.common.DiscoSDKUtils
-
- com.sun.identity.liberty.ws.disco.common.DiscoUtils
-
public class DiscoUtils extends DiscoSDKUtils
Provides utility methods to discovery service.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.liberty.ws.disco.common.DiscoSDKUtils
AUTHN_STMT, bundle, CREDENTIALS, CREDENTIALS_OBJ, debug, OFFERINGS, RES_SESSION_STMT, RES_STMT, SESSION_STMT
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapcheckPolicyAndHandleDirectives(String userDN, Message message, Collection results, Authorizer authorizer, SessionContext invoSession, String wscID, Object token)Checks policy and returns resource offerings and credentials.-
Methods inherited from class com.sun.identity.liberty.ws.disco.common.DiscoSDKUtils
getDisco11Factory, getDiscoEntryFactory, getDiscoFactory, getDiscoMarshaller, getDiscoUnmarshaller, parseOptions, parseStatus, parseXML
-
-
-
-
Method Detail
-
checkPolicyAndHandleDirectives
public static Map checkPolicyAndHandleDirectives(String userDN, Message message, Collection results, Authorizer authorizer, SessionContext invoSession, String wscID, Object token)
Checks policy and returns resource offerings and credentials.- Parameters:
userDN- user DNmessage- soap requestMessagereceived.results-CollectionofInsertEntryTypeobjects.authorizer-Authorizerobject.invoSession-SessionContextwscID- web service client ID.token- token of this soap session.- Returns:
- Map of following key value pairs:
Key:
OFFERINGSValue: List ofResourceOfferings Key:CREDENTIALSValue: List of credentials (Assertions)
-
-