*How can I issue service tickets in CAS 5.2.0. I am using memcached for
storing the tickets. in the logs CAS is issuing the TGT but there is no ST.
this is how it looks like in the log:*
2017-12-22 09:40:47,618 DEBUG
[org.apereo.cas.authentication.DefaultAuthenticationResultBuilder] -
<Collected authentication attributes for this result are
[{org.apereo.cas.authentication.principal.REMEMBER_ME=true,
credentialType=RememberMeUsernamePasswordCredential,
authenticationMethod=LdapAuthenticationHandler,
successfulAuthenticationHandlers=[LdapAuthenticationHandler]}]>
2017-12-22 09:40:47,618 DEBUG
[org.apereo.cas.authentication.DefaultAuthenticationResultBuilder] -
<Authentication result commenced at
[2017-12-22T09:40:47.618+08:00[Asia/Kuala_Lumpur]]>
2017-12-22 09:40:47,619 DEBUG
[org.apereo.cas.authentication.DefaultAuthenticationResultBuilder] -
<Building an authentication result for authentication
[org.apereo.cas.authentication.DefaultAuthentication@d0d20ec7] and service
[null]>
2017-12-22 09:40:47,620 DEBUG
[org.apereo.cas.ticket.factory.DefaultTicketGrantingTicketFactory] -
<Attempting to encode ticket-granting ticket
[TGT-***************************************************************FvYJ1mu3VU-rabby]>
2017-12-22 09:40:47,620 DEBUG [org.apereo.cas.util.EncodingUtils] -
<Encrypting via [A128CBC-HS256]>
2017-12-22 09:40:47,621 DEBUG
[org.apereo.cas.ticket.factory.DefaultTicketGrantingTicketFactory] -
<Encoded ticket-granting ticket id
[***************************************************************]>
2017-12-22 09:40:47,622 DEBUG
[org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Encoding ticket
[***************************************************************]>
2017-12-22 09:40:47,632 DEBUG
[org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Encoded original
ticket id [***************************************************************]
to [***************************************************************]>
2017-12-22 09:40:47,632 DEBUG
[org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Created encoded
ticket [[***************************************************************]]>
2017-12-22 09:40:47,633 DEBUG
[org.apereo.cas.ticket.registry.MemcachedTicketRegistry] - <Adding ticket
[[***************************************************************]]>
2017-12-22 09:40:47,633 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [int] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$IntSerializer]>
2017-12-22 09:40:47,634 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [java.lang.String] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$StringSerializer]>
2017-12-22 09:40:47,634 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [float] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$FloatSerializer]>
2017-12-22 09:40:47,634 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [boolean] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$BooleanSerializer]>
2017-12-22 09:40:47,635 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [byte] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$ByteSerializer]>
2017-12-22 09:40:47,635 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [char] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$CharSerializer]>
2017-12-22 09:40:47,635 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [short] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$ShortSerializer]>
2017-12-22 09:40:47,636 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [long] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$LongSerializer]>
2017-12-22 09:40:47,636 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [double] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$DoubleSerializer]>
2017-12-22 09:40:47,636 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [void] with Kryo using serializer
[com.esotericsoftware.kryo.serializers.DefaultSerializers$VoidSerializer]>
2017-12-22 09:40:47,637 DEBUG
[org.apereo.cas.memcached.kryo.CloseableKryoFactory] - <Constructing a kryo
instance with the following settings:>
2017-12-22 09:40:47,637 DEBUG
[org.apereo.cas.memcached.kryo.CloseableKryoFactory] -
<warnUnregisteredClasses: [true]>
2017-12-22 09:40:47,637 DEBUG
[org.apereo.cas.memcached.kryo.CloseableKryoFactory] - <autoReset: [false]>
2017-12-22 09:40:47,637 DEBUG
[org.apereo.cas.memcached.kryo.CloseableKryoFactory] -
<replaceObjectsByReferences: [false]>
2017-12-22 09:40:47,638 DEBUG
[org.apereo.cas.memcached.kryo.CloseableKryoFactory] -
<registrationRequired: [false]>
2017-12-22 09:40:47,638 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class
[org.apereo.cas.authentication.principal.SimpleWebApplicationServiceImpl]
with Kryo using serializer
[org.apereo.cas.memcached.kryo.serial.SimpleWebApplicationServiceSerializer]>
2017-12-22 09:40:47,639 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class
[org.apereo.cas.authentication.BasicCredentialMetaData] with Kryo using
serializer [com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,639 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class
[org.apereo.cas.authentication.BasicIdentifiableCredential] with Kryo using
serializer [com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,639 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [org.apereo.cas.authentication.DefaultHandlerResult]
with Kryo using serializer
[com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,640 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [org.apereo.cas.authentication.DefaultAuthentication]
with Kryo using serializer
[com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,640 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class
[org.apereo.cas.authentication.UsernamePasswordCredential] with Kryo using
serializer [com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,641 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class
[org.apereo.cas.authentication.principal.SimplePrincipal] with Kryo using
serializer [com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,641 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class [org.apereo.cas.util.crypto.PublicKeyFactoryBean] with
Kryo using serializer
[com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,642 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class
[org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy] with Kryo
using serializer [com.esotericsoftware.kryo.serializers.FieldSerializer]>
2017-12-22 09:40:47,642 DEBUG [org.apereo.cas.memcached.kryo.CloseableKryo]
- <Registering class
[org.apereo.cas.services.ReturnAllAttributeReleasePolicy] with Kryo using
serializer [com.esotericsoftware.kryo.serializers.FieldSerializer]>
*2017-12-22 09:40:47,678 DEBUG
[org.apereo.cas.memcached.kryo.CloseableKryoFactory] - <Registering
serializable class
[org.apereo.cas.ticket.support.RememberMeDelegatingExpirationPolicy] with
Kryo>2017-12-22 09:40:47,678 DEBUG
[org.apereo.cas.AbstractCentralAuthenticationService] - <Publishing
[org.apereo.cas.support.events.ticket.CasTicketGrantingTicketCreatedEvent@329053ab[ticketGrantingTicket=e*
****************************************************************]]>2017-12-22
09:40:47,679 INFO
[org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit
trail record
BEGIN=============================================================WHO:
userWHAT: *
****************************************************************ACTION:
TICKET_GRANTING_TICKET_CREATEDAPPLICATION: CASWHEN: Fri Dec 22 09:40:47 MYT
2017CLIENT IP ADDRESS: 127.0.0.1SERVER IP ADDRESS:
127.0.0.1=============================================================>2017-12-22
09:40:47,680 DEBUG
[org.apereo.cas.web.support.DefaultCasCookieValueManager] - <Encoding
cookie value [*
****************************************************************@127.0.0.1@Mozilla/5.0
(X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101
Firefox/57.0]>2017-12-22 09:40:47,681 DEBUG
[org.apereo.cas.util.EncodingUtils] - <Encrypting via [A128CBC-HS256]>But
there is no action for service ticket creation. This is what my cas.
properties looks like....### tgc### cas.tgc.path=cas.tgc.maxAge=-1#
cas.tgc.domain=cas.tgc.signingKey=*
****************************************************************cas.tgc.name=TGCcas.tgc.encryptionKey=*
****************************************************************cas.tgc.secure=falsecas.tgc.rememberMeMaxAge=1350000cas.tgc.cipherEnabled=truecas.webflow.signing.key=*
****************************************************************cas.webflow.signing.keySize=512cas.webflow.encryption.keySize=16cas.webflow.encryption.key=*
****************************************************************cas.webflow.crypto.signing.key=*
****************************************************************cas.webflow.crypto.encryption.key=*
****************************************************************cas.tgc.crypto.signing.key=
*
****************************************************************cas.tgc.crypto.encryption.key=*
****************************************************************# Service
Registrycas.serviceRegistry.watcherEnabled=truecas.serviceRegistry.repeatInterval=120000cas.serviceRegistry.startDelay=15000cas.serviceRegistry.initFromJson=truecas.serviceRegistry.config.location=file:/etc/cas/config/servicescas.ticket.tgt.onlyTrackMostRecentSession=truecas.ticket.tgt.maxLength=50cas.monitor.tgt.warn.threshold=10cas.monitor.tgt.warn.evictionThreshold=0##
#remember me 31 days in seconds# # Set to a negative value to never expire
ticketscas.ticket.tgt.maxTimeToLiveInSeconds=1350000cas.ticket.tgt.timeToKillInSeconds=7200cas.ticket.tgt.rememberMe.enabled=truecas.ticket.tgt.rememberMe.timeToKillInSeconds=1350000cas.web.flow.GenericSuccessViewAction=*
****************************************************************cas.ticket.tgt.timeout.maxTimeToLiveInSeconds=1350000###Throttled
Timeout##cas.ticket.tgt.throttledTimeout.timeToKillInSeconds=28800cas.ticket.tgt.throttledTimeout.timeInBetweenUsesInSeconds=5cas.ticket.tgt.hardTimeout.timeToKillInSeconds=28800#Monitoring
the service
ticketcas.monitor.st.warn.threshold=10cas.monitor.st.warn.evictionThreshold=0cas.ticket.st.maxLength=20cas.ticket.st.numberOfUses=1cas.ticket.st.timeToKillInSeconds=15cas.ticket.crypto.enabled=truecas.ticket.crypto.signing.key=
*
****************************************************************cas.ticket.crypto.encryption.key=*
*****************************************************************
*#memcachedcas.ticket.registry.memcached.servers=localhost:11211cas.ticket.registry.memcached.locatorType=ARRAY_MODcas.ticket.registry.memcached.failureMode=Redistributecas.ticket.registry.memcached.hashAlgorithm=FNV1_64_HASHcas.ticket.registry.memcached.shouldOptimize=falsecas.ticket.registry.memcached.daemon=truecas.ticket.registry.memcached.maxReconnectDelay=-1cas.ticket.registry.memcached.useNagleAlgorithm=falsecas.ticket.registry.memcached.shutdownTimeoutSeconds=-1cas.ticket.registry.memcached.opTimeout=-1cas.ticket.registry.memcached.timeoutExceptionThreshold=2cas.ticket.registry.memcached.maxTotal=20cas.ticket.registry.memcached.maxIdle=8cas.ticket.registry.memcached.minIdle=0cas.ticket.registry.memcached.transcoder=KRYOcas.ticket.registry.memcached.transcoderCompressionThreshold=16384cas.ticket.registry.memcached.kryoAutoReset=falsecas.ticket.registry.memcached.kryoObjectsByReference=falsecas.ticket.registry.memcached.kryoRegistrationRequired=falsecas.ticket.registry.memcached.crypto.signing.key=*
****************************************************************cas.ticket.registry.memcached.crypto.signing.keySize=512cas.ticket.registry.memcached.crypto.encryption.key=*
******************************cas.ticket.registry.memcached.crypto.encryption.keySize=16cas.ticket.registry.memcached.crypto.alg=AEScas.ticket.registry.memcached.crypto.enabled=true*
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/99affb8c-6ea5-44ff-9e79-d9ab8fe96cf4%40apereo.org.