Lines Matching refs:restriction
387 * @param restriction TokenRestriction Object
392 public String getRestrictedTokenId(String masterSid, TokenRestriction restriction) throws SessionException {
406 sessionServiceURLService.getSessionServiceURL(hostServerID), sid, restriction);
416 return doGetRestrictedTokenId(sid, restriction);
422 String doGetRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException {
437 // attempt to reuse the token if restriction is the same
438 SessionID restrictedSid = session.getRestrictedTokenForRestriction(restriction);
441 SessionID previousValue = session.addRestrictedToken(restrictedSid, restriction);
619 TokenRestriction restriction = session.getRestrictionForToken(token);
620 if (restriction != null && !restriction.isSatisfied(RestrictedTokenContext.getCurrent())) {
965 //if the provided sid was a restricted token, resolveToken will always validate the restriction, so there is no
1767 * @param restriction restriction
1769 private String getRestrictedTokenIdRemotely(URL owner, SessionID masterSid, TokenRestriction restriction) {
1787 ds.writeUTF(TokenRestrictionFactory.marshal(restriction));
1824 * @param restriction restriction
1827 TokenRestriction restriction) {
1829 return doGetRestrictedTokenId(masterSid, restriction);