当前位置: 首页>>代码示例>>Java>>正文


Java UserStoreUsersService类代码示例

本文整理汇总了Java中com.hp.autonomy.hod.client.api.userstore.user.UserStoreUsersService的典型用法代码示例。如果您正苦于以下问题:Java UserStoreUsersService类的具体用法?Java UserStoreUsersService怎么用?Java UserStoreUsersService使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


UserStoreUsersService类属于com.hp.autonomy.hod.client.api.userstore.user包,在下文中一共展示了UserStoreUsersService类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: CookieHodAuthenticationProvider

import com.hp.autonomy.hod.client.api.userstore.user.UserStoreUsersService; //导入依赖的package包/类
/**
 * Creates a new CookieHodAuthenticationProvider which fetches the given user metadata keys. Note: this will only work if
 * the combined token has the privilege for the Get User Metadata API on their user store. Uses the given username
 * resolver to set the name for a user's {@link HodAuthenticationPrincipal}. The GrantedAuthoritiesResolver is used
 * to create a collection of authorities for an authenticated user.
 *
 * @param tokenRepository         The token repository in which to store the HP Haven OnDemand Token
 * @param authoritiesResolver     Resolves authorities for authenticated users
 * @param authenticationService   The authentication service that will perform the authentication
 * @param unboundTokenService     The unbound token service to get the unbound authentication UUID from
 * @param userStoreUsersService   The user store users service that will get user metadata
 * @param hodUserMetadataResolver The strategy to resolve users' metadata
 * @param securityInfoRetriever   Retrieves the securityInfoString for a given user
 */
public CookieHodAuthenticationProvider(
        final TokenRepository tokenRepository,
        final GrantedAuthoritiesResolver authoritiesResolver,
        final AuthenticationService authenticationService,
        final UnboundTokenService<TokenType.HmacSha1> unboundTokenService,
        final UserStoreUsersService userStoreUsersService,
        final HodUserMetadataResolver hodUserMetadataResolver,
        final SecurityInfoRetriever securityInfoRetriever
) {
    this.tokenRepository = tokenRepository;
    this.authenticationService = authenticationService;
    this.userStoreUsersService = userStoreUsersService;
    this.hodUserMetadataResolver = hodUserMetadataResolver;
    this.unboundTokenService = unboundTokenService;
    this.authoritiesResolver = authoritiesResolver;
    this.securityInfoRetriever = securityInfoRetriever;
}
 
开发者ID:hpe-idol,项目名称:java-hod-sso-spring-security,代码行数:32,代码来源:CookieHodAuthenticationProvider.java

示例2: HodAuthenticationProvider

import com.hp.autonomy.hod.client.api.userstore.user.UserStoreUsersService; //导入依赖的package包/类
/**
 * Creates a new HodAuthenticationProvider which fetches the given user metadata keys. Note: this will only work if
 * the combined token has the privilege for the Get User Metadata API on their user store. Uses the given username
 * resolver to set the name for a user's {@link HodAuthenticationPrincipal}. The GrantedAuthoritiesResolver is used
 * to create a collection of authorities for an authenticated user.
 *
 * @param tokenRepository         The token repository in which to store the HP Haven OnDemand Token
 * @param authoritiesResolver     Resolves authorities for authenticated users
 * @param authenticationService   The authentication service that will perform the authentication
 * @param unboundTokenService     The unbound token service to get the unbound authentication UUID from
 * @param userStoreUsersService   The user store users service that will get user metadata
 * @param hodUserMetadataResolver The strategy to resolve users' metadata
 * @param securityInfoRetriever   Retrieves the securityInfoString for a given user
 */
public HodAuthenticationProvider(
        final TokenRepository tokenRepository,
        final GrantedAuthoritiesResolver authoritiesResolver,
        final AuthenticationService authenticationService,
        final UnboundTokenService<TokenType.HmacSha1> unboundTokenService,
        final UserStoreUsersService userStoreUsersService,
        final HodUserMetadataResolver hodUserMetadataResolver,
        final SecurityInfoRetriever securityInfoRetriever
) {
    this.tokenRepository = tokenRepository;
    this.authenticationService = authenticationService;
    this.userStoreUsersService = userStoreUsersService;
    this.hodUserMetadataResolver = hodUserMetadataResolver;
    this.unboundTokenService = unboundTokenService;
    this.authoritiesResolver = authoritiesResolver;
    this.securityInfoRetriever = securityInfoRetriever;
}
 
开发者ID:hpe-idol,项目名称:java-hod-sso-spring-security,代码行数:32,代码来源:HodAuthenticationProvider.java

示例3: userStoreUsersService

import com.hp.autonomy.hod.client.api.userstore.user.UserStoreUsersService; //导入依赖的package包/类
@Bean
public UserStoreUsersService userStoreUsersService(final HodServiceConfig<EntityType.Combined, TokenType.Simple> hodServiceConfig) {
    return new UserStoreUsersServiceImpl(hodServiceConfig);
}
 
开发者ID:hpe-idol,项目名称:find,代码行数:5,代码来源:HodConfiguration.java


注:本文中的com.hp.autonomy.hod.client.api.userstore.user.UserStoreUsersService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。