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


Java AccessTokenFactory类代码示例

本文整理汇总了Java中org.apereo.cas.ticket.accesstoken.AccessTokenFactory的典型用法代码示例。如果您正苦于以下问题:Java AccessTokenFactory类的具体用法?Java AccessTokenFactory怎么用?Java AccessTokenFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


AccessTokenFactory类属于org.apereo.cas.ticket.accesstoken包,在下文中一共展示了AccessTokenFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: OidcAuthorizeEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OidcAuthorizeEndpointController(final ServicesManager servicesManager,
                                       final TicketRegistry ticketRegistry,
                                       final OAuth20Validator validator,
                                       final AccessTokenFactory accessTokenFactory,
                                       final PrincipalFactory principalFactory,
                                       final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                       final OAuthCodeFactory oAuthCodeFactory,
                                       final ConsentApprovalViewResolver consentApprovalViewResolver,
                                       final OidcIdTokenGeneratorService idTokenGenerator,
                                       final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                       final CasConfigurationProperties casProperties,
                                       final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator,
                                       final OAuth20CasAuthenticationBuilder authenticationBuilder) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory,
            webApplicationServiceServiceFactory, oAuthCodeFactory, consentApprovalViewResolver,
            scopeToAttributesFilter, casProperties, ticketGrantingTicketCookieGenerator,
            authenticationBuilder);
    this.idTokenGenerator = idTokenGenerator;
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:20,代码来源:OidcAuthorizeEndpointController.java

示例2: OidcDynamicClientRegistrationEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OidcDynamicClientRegistrationEndpointController(final ServicesManager servicesManager,
                                                       final TicketRegistry ticketRegistry,
                                                       final OAuth20Validator validator,
                                                       final AccessTokenFactory accessTokenFactory,
                                                       final PrincipalFactory principalFactory,
                                                       final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                                       final StringSerializer<OidcClientRegistrationRequest> clientRegistrationRequestSerializer,
                                                       final RandomStringGenerator clientIdGenerator,
                                                       final RandomStringGenerator clientSecretGenerator,
                                                       final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                                       final CasConfigurationProperties casProperties,
                                                       final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory,
            principalFactory, webApplicationServiceServiceFactory,
            scopeToAttributesFilter, casProperties, ticketGrantingTicketCookieGenerator);
    this.clientRegistrationRequestSerializer = clientRegistrationRequestSerializer;
    this.clientIdGenerator = clientIdGenerator;
    this.clientSecretGenerator = clientSecretGenerator;
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:20,代码来源:OidcDynamicClientRegistrationEndpointController.java

示例3: OidcAccessTokenEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OidcAccessTokenEndpointController(final ServicesManager servicesManager,
                                         final TicketRegistry ticketRegistry,
                                         final OAuth20Validator validator,
                                         final AccessTokenFactory accessTokenFactory,
                                         final PrincipalFactory principalFactory,
                                         final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                         final RefreshTokenFactory refreshTokenFactory,
                                         final AccessTokenResponseGenerator accessTokenResponseGenerator,
                                         final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                         final CasConfigurationProperties casProperties,
                                         final CookieRetrievingCookieGenerator cookieGenerator,
                                         final OAuth20CasAuthenticationBuilder authenticationBuilder,
                                         final CentralAuthenticationService centralAuthenticationService) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory,
            webApplicationServiceServiceFactory, refreshTokenFactory, accessTokenResponseGenerator,
            scopeToAttributesFilter, casProperties, cookieGenerator, authenticationBuilder,
            centralAuthenticationService);
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:19,代码来源:OidcAccessTokenEndpointController.java

示例4: OAuth20AuthorizeEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OAuth20AuthorizeEndpointController(final ServicesManager servicesManager,
                                          final TicketRegistry ticketRegistry,
                                          final OAuth20Validator validator,
                                          final AccessTokenFactory accessTokenFactory,
                                          final PrincipalFactory principalFactory,
                                          final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                          final OAuthCodeFactory oAuthCodeFactory,
                                          final ConsentApprovalViewResolver consentApprovalViewResolver,
                                          final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                          final CasConfigurationProperties casProperties,
                                          final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator,
                                          final OAuth20CasAuthenticationBuilder authenticationBuilder) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory,
            webApplicationServiceServiceFactory, scopeToAttributesFilter, casProperties,
            ticketGrantingTicketCookieGenerator);
    this.oAuthCodeFactory = oAuthCodeFactory;
    this.consentApprovalViewResolver = consentApprovalViewResolver;
    this.authenticationBuilder = authenticationBuilder;
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:20,代码来源:OAuth20AuthorizeEndpointController.java

示例5: BaseOAuth20Controller

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
/**
 * Instantiates a new Base o auth 20 controller.
 *
 * @param servicesManager                     the services manager
 * @param ticketRegistry                      the ticket registry
 * @param validator                           the validator
 * @param accessTokenFactory                  the access token factory
 * @param principalFactory                    the principal factory
 * @param webApplicationServiceServiceFactory the web application service service factory
 * @param scopeToAttributesFilter             the scope to attributes filter
 * @param casProperties                       the cas properties
 * @param ticketGrantingTicketCookieGenerator the ticket granting ticket cookie generator
 */
public BaseOAuth20Controller(final ServicesManager servicesManager,
                             final TicketRegistry ticketRegistry,
                             final OAuth20Validator validator,
                             final AccessTokenFactory accessTokenFactory,
                             final PrincipalFactory principalFactory,
                             final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                             final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                             final CasConfigurationProperties casProperties,
                             final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator) {
    this.servicesManager = servicesManager;
    this.ticketRegistry = ticketRegistry;
    this.validator = validator;
    this.accessTokenFactory = accessTokenFactory;
    this.principalFactory = principalFactory;
    this.webApplicationServiceServiceFactory = webApplicationServiceServiceFactory;
    this.casProperties = casProperties;
    this.scopeToAttributesFilter = scopeToAttributesFilter;
    this.ticketGrantingTicketCookieGenerator = ticketGrantingTicketCookieGenerator;
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:33,代码来源:BaseOAuth20Controller.java

示例6: OAuth20AccessTokenEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OAuth20AccessTokenEndpointController(final ServicesManager servicesManager,
                                            final TicketRegistry ticketRegistry,
                                            final OAuth20Validator validator,
                                            final AccessTokenFactory accessTokenFactory,
                                            final PrincipalFactory principalFactory,
                                            final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                            final RefreshTokenFactory refreshTokenFactory,
                                            final AccessTokenResponseGenerator accessTokenResponseGenerator,
                                            final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                            final CasConfigurationProperties casProperties,
                                            final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator,
                                            final OAuth20CasAuthenticationBuilder authenticationBuilder,
                                            final CentralAuthenticationService centralAuthenticationService) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory,
            principalFactory, webApplicationServiceServiceFactory,
            scopeToAttributesFilter, casProperties, ticketGrantingTicketCookieGenerator);
    this.refreshTokenFactory = refreshTokenFactory;
    this.accessTokenResponseGenerator = accessTokenResponseGenerator;
    this.authenticationBuilder = authenticationBuilder;
    this.centralAuthenticationService = centralAuthenticationService;
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:22,代码来源:OAuth20AccessTokenEndpointController.java

示例7: OAuth20CallbackAuthorizeEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OAuth20CallbackAuthorizeEndpointController(final ServicesManager servicesManager,
                                                  final TicketRegistry ticketRegistry,
                                                  final OAuth20Validator validator,
                                                  final AccessTokenFactory accessTokenFactory,
                                                  final PrincipalFactory principalFactory,
                                                  final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                                  final Config config,
                                                  final CallbackController callbackController,
                                                  final OAuth20CallbackAuthorizeViewResolver oAuth20CallbackAuthorizeViewResolver,
                                                  final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                                  final CasConfigurationProperties casProperties,
                                                  final CookieRetrievingCookieGenerator cookieGenerator) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory,
            webApplicationServiceServiceFactory, scopeToAttributesFilter, casProperties, cookieGenerator);
    this.callbackController = callbackController;
    this.oAuth20CallbackAuthorizeViewResolver = oAuth20CallbackAuthorizeViewResolver;
    this.callbackController.setConfig(config);
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:19,代码来源:OAuth20CallbackAuthorizeEndpointController.java

示例8: OAuth20AccessTokenEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OAuth20AccessTokenEndpointController(ServicesManager servicesManager, TicketRegistry ticketRegistry,
                                            OAuth20Validator validator, AccessTokenFactory accessTokenFactory,
                                            PrincipalFactory principalFactory,
                                            ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                            RefreshTokenFactory refreshTokenFactory,
                                            AccessTokenResponseGenerator accessTokenResponseGenerator,
                                            OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                            CasConfigurationProperties casProperties,
                                            CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator,
                                            OAuth20CasAuthenticationBuilder authenticationBuilder,
                                            CentralAuthenticationService centralAuthenticationService) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory, webApplicationServiceServiceFactory,
        scopeToAttributesFilter, casProperties, ticketGrantingTicketCookieGenerator);
    this.refreshTokenFactory = refreshTokenFactory;
    this.accessTokenResponseGenerator = accessTokenResponseGenerator;
    this.authenticationBuilder = authenticationBuilder;
    this.centralAuthenticationService = centralAuthenticationService;
}
 
开发者ID:e-gov,项目名称:TARA-Server,代码行数:19,代码来源:OAuth20AccessTokenEndpointController.java

示例9: OidcProfileEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OidcProfileEndpointController(final ServicesManager servicesManager,
                                     final TicketRegistry ticketRegistry,
                                     final OAuth20Validator validator,
                                     final AccessTokenFactory accessTokenFactory,
                                     final PrincipalFactory principalFactory,
                                     final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                     final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                     final CasConfigurationProperties casProperties,
                                     final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory,
            principalFactory, webApplicationServiceServiceFactory,
            scopeToAttributesFilter, casProperties, ticketGrantingTicketCookieGenerator);
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:14,代码来源:OidcProfileEndpointController.java

示例10: OidcWellKnownEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OidcWellKnownEndpointController(final ServicesManager servicesManager,
                                       final TicketRegistry ticketRegistry,
                                       final OAuth20Validator validator,
                                       final AccessTokenFactory accessTokenFactory,
                                       final PrincipalFactory principalFactory,
                                       final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                       final OidcServerDiscoverySettings discovery,
                                       final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                       final CasConfigurationProperties casProperties,
                                       final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory,
            principalFactory, webApplicationServiceServiceFactory, 
            scopeToAttributesFilter, casProperties, ticketGrantingTicketCookieGenerator);
    this.discovery = discovery;
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:16,代码来源:OidcWellKnownEndpointController.java

示例11: OidcJwksEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OidcJwksEndpointController(final ServicesManager servicesManager,
                                  final TicketRegistry ticketRegistry,
                                  final OAuth20Validator validator,
                                  final AccessTokenFactory accessTokenFactory,
                                  final PrincipalFactory principalFactory,
                                  final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                  final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                  final CasConfigurationProperties casProperties,
                                  final CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory,
            webApplicationServiceServiceFactory, scopeToAttributesFilter, 
            casProperties, ticketGrantingTicketCookieGenerator);
    this.jwksFile = casProperties.getAuthn().getOidc().getJwksFile();
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:15,代码来源:OidcJwksEndpointController.java

示例12: OAuth20UserProfileControllerController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OAuth20UserProfileControllerController(final ServicesManager servicesManager,
                                              final TicketRegistry ticketRegistry,
                                              final OAuth20Validator validator,
                                              final AccessTokenFactory accessTokenFactory,
                                              final PrincipalFactory principalFactory,
                                              final ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
                                              final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                              final CasConfigurationProperties casProperties,
                                              final CookieRetrievingCookieGenerator cookieGenerator) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory,
            webApplicationServiceServiceFactory, scopeToAttributesFilter, casProperties, cookieGenerator);
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:13,代码来源:OAuth20UserProfileControllerController.java

示例13: OAuth20UserProfileControllerController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OAuth20UserProfileControllerController(ServicesManager servicesManager,
		TicketRegistry ticketRegistry, OAuth20Validator validator,
		AccessTokenFactory accessTokenFactory, PrincipalFactory principalFactory,
		ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory,
		OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
		CasConfigurationProperties casProperties,
		CookieRetrievingCookieGenerator cookieGenerator) {
	super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory,
			webApplicationServiceServiceFactory, scopeToAttributesFilter, casProperties,
			cookieGenerator);
}
 
开发者ID:e-gov,项目名称:TARA-Server,代码行数:12,代码来源:OAuth20UserProfileControllerController.java

示例14: defaultAccessTokenFactory

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
@Bean
@RefreshScope
@ConditionalOnMissingBean(name = "defaultAccessTokenFactory")
public AccessTokenFactory defaultAccessTokenFactory() {
    return new DefaultAccessTokenFactory(accessTokenIdGenerator(), accessTokenExpirationPolicy());
}
 
开发者ID:mrluo735,项目名称:cas-5.1.0,代码行数:7,代码来源:CasOAuthConfiguration.java

示例15: OidcAuthorizeEndpointController

import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
public OidcAuthorizeEndpointController(ServicesManager servicesManager, TicketRegistry ticketRegistry, OAuth20Validator validator, AccessTokenFactory accessTokenFactory, PrincipalFactory principalFactory, ServiceFactory<WebApplicationService> webApplicationServiceServiceFactory, OAuthCodeFactory oAuthCodeFactory, ConsentApprovalViewResolver consentApprovalViewResolver, OidcIdTokenGeneratorService idTokenGenerator, OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter, CasConfigurationProperties casProperties, CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator, OAuth20CasAuthenticationBuilder authenticationBuilder) {
    super(servicesManager, ticketRegistry, validator, accessTokenFactory, principalFactory, webApplicationServiceServiceFactory, oAuthCodeFactory, consentApprovalViewResolver, scopeToAttributesFilter, casProperties, ticketGrantingTicketCookieGenerator, authenticationBuilder);
    this.idTokenGenerator = idTokenGenerator;
}
 
开发者ID:e-gov,项目名称:TARA-Server,代码行数:5,代码来源:OidcAuthorizeEndpointController.java


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