本文整理汇总了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;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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;
}
示例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);
}
示例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;
}
示例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();
}
示例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);
}
示例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);
}
示例14: defaultAccessTokenFactory
import org.apereo.cas.ticket.accesstoken.AccessTokenFactory; //导入依赖的package包/类
@Bean
@RefreshScope
@ConditionalOnMissingBean(name = "defaultAccessTokenFactory")
public AccessTokenFactory defaultAccessTokenFactory() {
return new DefaultAccessTokenFactory(accessTokenIdGenerator(), accessTokenExpirationPolicy());
}
示例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;
}