Tabnine Logo
AbstractSecurityToken.setModuleId
Code IndexAdd Tabnine to your IDE (free)

How to use
setModuleId
method
in
org.apache.shindig.auth.AbstractSecurityToken

Best Java code snippets using org.apache.shindig.auth.AbstractSecurityToken.setModuleId (Showing top 12 results out of 315)

origin: apache/shindig

 public void loadFromMap(AbstractSecurityToken token, Map<String, String> map) {
  String value = map.get(key);
  if (value != null) {
   token.setModuleId(Long.parseLong(value, 10));
  }
 }
},
origin: org.wso2.org.apache.shindig/shindig-common

 public void loadFromMap(AbstractSecurityToken token, Map<String, String> map) {
  String value = map.get(key);
  if (value != null) {
   token.setModuleId(Long.parseLong(value, 10));
  }
 }
},
origin: org.apache.shindig/shindig-common

 public void loadFromMap(AbstractSecurityToken token, Map<String, String> map) {
  String value = map.get(key);
  if (value != null) {
   token.setModuleId(Long.parseLong(value, 10));
  }
 }
},
origin: org.wso2.org.apache.shindig/shindig-common

public FakeGadgetToken setModuleId(long moduleId) {
 return (FakeGadgetToken)super.setModuleId(moduleId);
}
origin: org.apache.shindig/shindig-common

public FakeGadgetToken setModuleId(long moduleId) {
 return (FakeGadgetToken)super.setModuleId(moduleId);
}
origin: apache/shindig

public FakeGadgetToken setModuleId(long moduleId) {
 return (FakeGadgetToken)super.setModuleId(moduleId);
}
origin: apache/shindig

public AnonymousSecurityToken(String container, Long moduleId, String appUrl) {
 setContainer(container).setModuleId(moduleId).setAppUrl(appUrl)
  .setOwnerId(ANONYMOUS_ID)
  .setViewerId(ANONYMOUS_ID)
  .setDomain("*")
  .setTrustedJson("");
}
origin: org.apache.shindig/shindig-common

public AnonymousSecurityToken(String container, Long moduleId, String appUrl) {
 setContainer(container).setModuleId(moduleId).setAppUrl(appUrl)
  .setOwnerId(ANONYMOUS_ID)
  .setViewerId(ANONYMOUS_ID)
  .setDomain("*")
  .setTrustedJson("");
}
origin: org.wso2.org.apache.shindig/shindig-common

public AnonymousSecurityToken(String container, Long moduleId, String appUrl) {
 setContainer(container).setModuleId(moduleId).setAppUrl(appUrl)
  .setOwnerId(ANONYMOUS_ID)
  .setViewerId(ANONYMOUS_ID)
  .setDomain("*")
  .setTrustedJson("");
}
origin: apache/shindig

 public static BlobCrypterSecurityToken fromToken(SecurityToken token) {
  BlobCrypterSecurityToken interpretedToken = new BlobCrypterSecurityToken(token.getContainer(),
    token.getDomain(), token.getActiveUrl(), null);
  interpretedToken
    .setAppId(token.getAppId())
    .setAppUrl(token.getAppUrl())
    .setExpiresAt(token.getExpiresAt())
    .setModuleId(token.getModuleId())
    .setOwnerId(token.getOwnerId())
    .setTrustedJson(token.getTrustedJson())
    .setViewerId(token.getViewerId());

  return interpretedToken;
 }
}
origin: org.apache.shindig/shindig-common

 public static BlobCrypterSecurityToken fromToken(SecurityToken token) {
  BlobCrypterSecurityToken interpretedToken = new BlobCrypterSecurityToken(token.getContainer(),
    token.getDomain(), token.getActiveUrl(), null);
  interpretedToken
    .setAppId(token.getAppId())
    .setAppUrl(token.getAppUrl())
    .setExpiresAt(token.getExpiresAt())
    .setModuleId(token.getModuleId())
    .setOwnerId(token.getOwnerId())
    .setTrustedJson(token.getTrustedJson())
    .setViewerId(token.getViewerId());

  return interpretedToken;
 }
}
origin: org.wso2.org.apache.shindig/shindig-common

 public static BlobCrypterSecurityToken fromToken(SecurityToken token) {
  BlobCrypterSecurityToken interpretedToken = new BlobCrypterSecurityToken(token.getContainer(),
    token.getDomain(), token.getActiveUrl(), null);
  interpretedToken
    .setAppId(token.getAppId())
    .setAppUrl(token.getAppUrl())
    .setExpiresAt(token.getExpiresAt())
    .setModuleId(token.getModuleId())
    .setOwnerId(token.getOwnerId())
    .setTrustedJson(token.getTrustedJson())
    .setViewerId(token.getViewerId());

  return interpretedToken;
 }
}
org.apache.shindig.authAbstractSecurityTokensetModuleId

Popular methods of AbstractSecurityToken

  • getExpiresAt
  • setActiveUrl
  • setAppId
  • setAppUrl
  • setContainer
  • setDomain
  • setExpiresAt
    Set the expiration time for this token.
  • setOwnerId
  • setTrustedJson
  • setViewerId
  • toMap
    A Map representation of this SecurityToken. Implementors that handle additional keys not contained i
  • enforceNotExpired
  • toMap,
  • enforceNotExpired,
  • getContainer,
  • getMapKeys,
  • getMaxTokenTTL,
  • getTimeSource,
  • setExpires,
  • loadFromMap,
  • setTimeSource

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • getResourceAsStream (ClassLoader)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now