Lines Matching refs:destID

152         private String destID = null;
157 public Entry(Assertion assertion, String destID, String artString,
161 this.destID = destID;
171 return destID;
175 destID = newDestID;
364 * @param destID The <code>sourceID</code> of the site for which the
375 String destID)
378 if ((assertion == null) || (destID == null) || (destID.length() == 0)) {
386 if ((partner == null) || (!partner.containsKey(destID))) {
388 "(Assertion, String): destID not in partner list.");
416 entry = new Entry(assertion, destID, artString, null);
489 entry.setDestID(destID);
627 * @param destID A String that is the site the assertion is created for.
634 String destID, String targetUrl, String version)
636 return createSSOAssertion(id, artifact, null, null, destID,
650 * @param destID A String that is the site the assertion is created for.
658 String destID, String targetUrl, String version)
665 (SAMLServiceManager.SOAPEntry)partnerURLs.get(destID);
706 return createAssertion(id, artifact, destID, attributes,
710 return createAssertion(id, artifact, destID, attributes,
716 return createAssertion(id, artifact, destID, attributes,
720 return createAssertion(id, artifact, destID, attributes,
732 String destID, List attributes, String confirmationMethod,
787 (SAMLServiceManager.SOAPEntry)partnerURLs.get(destID);
800 NameIdentifier ni = niMapper.getNameIdentifier(token, srcID, destID, nameIDFormat);
865 Entry entry = new Entry(assertion, destID, artString, token);
1005 * @param destID A Set of String that represents the destination site id.
1007 * the artifact. This String is compared with the destID that
1010 * otherwise it is false. If it is false, destID can
1016 private Assertion getAssertion(AssertionArtifact artifact, Set destID,
1020 SAMLUtils.debug.message("getAssertion(arti): destID set= " +
1022 (String)destID.iterator().next())));
1038 return amc.getAssertion(artifact, destID);
1103 "art, destid): no destID found corresponding to artifact.");
1108 if (destID == null || !destID.contains(dest)) {
1159 * @param destID The destination site requesting the assertion using
1160 * the artifact. This String is compared with the destID that
1166 public Assertion getAssertion(AssertionArtifact artifact, String destID)
1168 if ((artifact == null) || destID == null || destID.length() == 0) {
1176 destSet.add(destID);
1183 * @param destID A Set of String that represents the destination site id.
1185 * the artifact. Each string in this set compares with the destID
1192 public Assertion getAssertion(AssertionArtifact artifact, Set destID)
1194 if ((artifact == null) || destID == null || destID.isEmpty()) {
1201 return getAssertion(artifact, destID, true);
1226 * @param destID to whom the assertion will be created for.
1231 public Assertion getAssertion(Query query, String destID)
1246 destID);
1249 (AuthorizationDecisionQuery)query, destID);
1251 result = getAttributeAssertion((AttributeQuery)query, destID);
1266 * @param destID to whom the assertion will be created for. Currently,
1271 private Assertion getAttributeAssertion(AttributeQuery query, String destID)
1279 if ((destID == null) || (destID.length() == 0)) {
1282 + ": missing destID.");
1300 entries.get(destID);
1432 List attributes = attrMapper.getAttributes(query, destID, token);
1452 Entry newEntry = new Entry(newAssertion, destID, null, null);
1493 * @param destID to whom the assertion will be created for.
1498 AuthenticationQuery query, String destID) throws SAMLException
1644 Entry entry = new Entry(assertion, destID, null, token);
1698 * @param destID to whom the assertion will be created for.
1703 AuthorizationDecisionQuery query, String destID)
1706 return getAuthorizationDecisionAssertion(query, destID, true);
1712 * @param destID to whom the assertion will be created for.
1718 AuthorizationDecisionQuery query, String destID, boolean store)
1726 if ((destID == null) || (destID.length() == 0)) {
1729 + "missing destID.");
1747 entries.get(destID);
1784 Assertion assertion = actionMapper.getSSOAssertion(query, destID);
1806 Map map = actionMapper.getAuthorizationDecisions(query, token, destID);
1811 return getAuthorizationDecisionAssertion(query, destID, true,
2066 AuthorizationDecisionQuery query, String destID,
2140 entry = new Entry(assertion, destID, null, null);
2231 * @param destID The destination site id requesting the assertion using
2233 * <code>destID</code> that the assertion is created for originally.
2235 * created without a <code>destID</code> originally. This String can
2243 public Assertion getAssertion(AssertionIDReference idRef, String destID)
2245 if (destID == null) {
2249 destSet.add(destID);
2258 * @param destID A Set of destination site id. The destination site id
2260 * This String is compared with the <code>destID</code> that the
2263 * <code>destID</code> originally. This String can be obtained from
2271 public Assertion getAssertion(AssertionIDReference idRef, Set destID)
2273 return getAssertion(idRef, destID, false);
2280 * @param destID A Set of String that represents the destination id.
2283 * <code>destID</code> that the assertion is created for originally.
2285 * created without a <code>destID</code> originally. This String can
2288 * @param useToken A boolean value. If set to true, destID is not
2296 private Assertion getAssertion(AssertionIDReference idRef, Set destID,
2300 SAMLUtils.debug.message("getAssertion(idRef): destID set=" +
2301 destID);
2324 return amc.getAssertion(idRef, destID);
2362 // check if the destID is correct
2365 if ((destID == null) || (!destID.contains(dest))) {
2368 + "AssertionID): destID doesn't match.");
2393 * @param destID The destination site that the artifact is created for.
2398 String destID) throws SAMLException {
2399 return createAssertionArtifact(id, destID, null, null);
2406 * @param destID The destination site that the artifact is created for.
2413 String destID, String targetUrl,
2416 return createAssertionArtifact(id, destID, null, null,
2424 * @param destID The destination site that the artifact is created for.
2433 String destID, HttpServletRequest request,
2437 if ((id == null) || (destID == null)) {
2448 if ((partner == null) || (!partner.containsKey(destID))) {
2450 "(String, String): destID not in partner list.");
2470 request, response, destID, targetUrl, version);
2492 * @param destID the SourceID of the site where the query is from.
2496 public int isAllowed(AuthorizationDecisionQuery authZQuery, String destID) {
2504 assertion = getAuthorizationDecisionAssertion(authZQuery, destID,