當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。