Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed proxy ticket #202

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

fabriziosestito
Copy link

Hi,
I found that PT-* tickets are not recognised by the server since the query is fired from ServiceTicket model, triggering ActiveRecord filter on class name (as result, only the tickets with ServiceTicket class are selected).
The field is present on the db and it works fine when using SPTicket find_by_ticket method.
Also, granted_by_tgt is called in server.rb (proxyValidate), but this is missing in ProxyTicket model declaration.

Fabrizio Sestito and others added 3 commits March 2, 2014 16:53
ServiceTicket.find_by_ticket returns null if the ticket is a ProxyTicket, due to ActiveRecord class name filtering. Changed to SPTicket.
ProxyTicket uses granted_by_tgt as well, moved to parent class SPTicket.
Pgt was being destroyed by username at logout causing non-valid pgts if the user was connected on other devices.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant