net.shibboleth.utilities.java.support.annotation.constraint.Live.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(6.7k)|赞(0)|评价(0)|浏览(152)

本文整理了Java中net.shibboleth.utilities.java.support.annotation.constraint.Live.<init>()方法的一些代码示例,展示了Live.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Live.<init>()方法的具体详情如下:
包路径:net.shibboleth.utilities.java.support.annotation.constraint.Live
类名称:Live
方法名:<init>

Live.<init>介绍

暂无

代码示例

代码示例来源:origin: net.shibboleth.idp/idp-authn-api

/**
 * Get the map of intermediate state that flows can use to pass information amongst themselves.
 * 
 * <p>This is a simple string-based map of attributes that can be used to carry information between
 * login flows or for subsequent use, without relying on native Spring WebFlow mechanisms.</p>
 * 
 * @return the state map
 */
@Nonnull @Live public Map<String,Object> getAuthenticationStateMap() {
  return stateMap;
}

代码示例来源:origin: org.opensaml/opensaml-saml-api

/**
 * Get the list of {@link MetadataFilter}s that make up this chain.
 * 
 * @return the filters that make up this chain
 */
@Nonnull @NonnullElements @Live public List<MetadataFilter> getFilters() {
  return filters;
}

代码示例来源:origin: org.opensaml/opensaml-saml-api

/**
 * Gets the transforms applied to the content prior to digest generation.
 * 
 * @return the transforms applied to the content prior to digest generation
 */
@Nonnull @NonnullElements @Live public List<String> getTransforms() {
  return transforms;
}

代码示例来源:origin: net.shibboleth.idp/idp-profile-api

/**
   * Get the results of the flow to be written to storage.
   * 
   * @return the results of the flow to be written to storage
   */
  @Nonnull @NonnullElements @Live public List<ProfileInterceptorResult> getResults() {
    return results;
  }
}

代码示例来源:origin: org.opensaml/opensaml-storage-api

/**
 * Get the map of contexts to manipulate during operations.
 * 
 * <p>This method is guaranteed to be called under cover the lock returned by {{@link #getLock()}.</p>
 * 
 * TODO: this method needs to be able to throw IOException to deal with unexpected scenarios without
 * raising unchecked exceptions.
 * 
 * @return map of contexts to manipulate
 */
@Nonnull @NonnullElements @Live protected abstract Map<String, Map<String, MutableStorageRecord>> getContextMap();

代码示例来源:origin: net.shibboleth.idp/idp-authn-api

/**
 * Get the set of flows that could potentially be used for authentication.
 * 
 * <p>Initially the same as {@link #getAvailableFlows()}, it may be filtered down to a smaller set.</p>
 * 
 * @return the potential flows
 */
@Nonnull @NonnullElements @Live public Map<String,AuthenticationFlowDescriptor> getPotentialFlows() {
  return potentialFlows;
}

代码示例来源:origin: net.shibboleth.idp/idp-authn-api

/**
 * Get a live map of the transitions to apply.
 * 
 * @return  map of transition logic
 */
@Nonnull @NonnullElements @Live public Map<String,MultiFactorAuthenticationTransition> getTransitionMap() {
  return transitionMap;
}

代码示例来源:origin: org.opensaml/opensaml-storage-impl

/**
 * Get the map of contexts to manipulate during operations.
 * 
 * @return map of contexts to manipulate
 */
@Nonnull @NonnullElements @Live Map<String, Map<String, MutableStorageRecord>> getContextMap() {
  return contextMap;
}

代码示例来源:origin: net.shibboleth.idp/idp-profile-api

/**
 * Get the flows that are available to be executed.
 * 
 * @return the available flows
 */
@Nonnull @NonnullElements @Live public Map<String, ProfileInterceptorFlowDescriptor> getAvailableFlows() {
  return availableFlows;
}

代码示例来源:origin: net.shibboleth.idp/idp-authn-api

/**
 * Get the set of flows that could potentially be used for subject canonicalization.
 * 
 * @return the potential flows
 */
@Nonnull @NonnullElements @Live public Map<String, SubjectCanonicalizationFlowDescriptor> getPotentialFlows() {
  return potentialFlows;
}

代码示例来源:origin: net.shibboleth.idp/idp-authn-api

/**
 * Get previous authentication results currently active for the subject.
 * 
 * <p>These should be used to identify SSO opportunities. Results produced during a particular
 * authentication run should not be included in this collection.</p>
 * 
 * @return authentication results currently active for the subject
 */
@Nonnull @NonnullElements @Live public Map<String,AuthenticationResult> getActiveResults() {
  return activeResults;
}

代码示例来源:origin: net.shibboleth.idp/idp-authn-api

/**
 * Get the set of flows that have been executed, successfully or otherwise, without producing a completed result.
 * 
 * <p>This tracks flows that have already been run to avoid unintentional repeated attempts to run the same
 * flow.</p>
 * 
 * @return the intermediately executed flows
 */
@Nonnull @NonnullElements @Live public Map<String,AuthenticationFlowDescriptor> getIntermediateFlows() {
  return intermediateFlows;
}

代码示例来源:origin: net.shibboleth.idp/idp-authn-api

/**
 * Get a mutable collection of error "tokens" associated with the context.
 * 
 * @return mutable collection of error strings
 */
@Nonnull @NonnullElements @Live public Collection<String> getClassifiedErrors() {
  return classifiedErrors;
}

代码示例来源:origin: net.shibboleth.idp/idp-authn-impl

/**
 * Get the matching rules to apply.
 * 
 * @return  a mutable multimap of the matching rules to apply
 */
@Nonnull @NonnullElements @Live Multimap<String,String> getMatchingRules() {
  return matchingRules;
}

代码示例来源:origin: net.shibboleth.idp/idp-consent-api

/**
 * Get the attributes to be consented to.
 * 
 * @return the attributes to be consented to
 */
@Nonnull @NonnullElements @Live public Map<String, IdPAttribute> getConsentableAttributes() {
  return consentableAttributes;
}

代码示例来源:origin: net.shibboleth.idp/idp-consent-api

/**
 * Get map of current consent extracted from user input and keyed by consent id.
 * 
 * @return map of current consent extracted from user input and keyed by consent id
 */
@Nonnull @NonnullElements @Live public Map<String, Consent> getCurrentConsents() {
  return currentConsents;
}

代码示例来源:origin: net.shibboleth.idp/idp-profile-api

/**
 * Get a live collection of values associated with a field.
 * 
 * @param field field to retrieve
 * 
 * @return the field's values
 */
@Nonnull @NonnullElements @Live public Collection<String> getFieldValues(@Nonnull @NotEmpty final String field) {
  return fieldMap.get(field);
}

代码示例来源:origin: org.opensaml/opensaml-profile-api

/**
 * Get a modifiable collection of timer name / stop object pairs for the supplied
 * start object ID.
 * 
 * @param objectId the object ID input
 * 
 * @return the collection of associated mappings
 */
@Nonnull @NonnullElements @Live public Collection<Pair<String,String>> getTimerMappings(
    @Nonnull @NotEmpty final String objectId) {
  return timerMap.get(objectId);
}

代码示例来源:origin: net.shibboleth.idp/idp-session-api

/**
 * Get a live collection of sessions associated with a service.
 * 
 * @param id name of service to retrieve
 * 
 * @return the sessions for the service
 */
@Nonnull @NonnullElements @Live public Collection<SPSession> getSessions(@Nonnull @NotEmpty final String id) {
  return sessionMap.get(id);
}

代码示例来源:origin: org.opensaml/opensaml-storage-impl

/** {@inheritDoc} */
@Override
@Nonnull @NonnullElements @Live protected Map<String, Map<String, MutableStorageRecord>> getContextMap() {
  
  final HttpSession session = Constraint.isNotNull(httpServletRequest.getSession(), "HttpSession cannot be null");
  final Object store = Constraint.isNotNull(session.getAttribute(STORAGE_ATTRIBUTE + '.' + storageName),
      "Storage object was not present in session");
  return ((ClientStorageServiceStore) store).getContextMap();
}

相关文章

Live类方法