[ https://issues.apache.org/jira/browse/CONNECTORS-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108456#comment-13108456 ]
Karl Wright commented on CONNECTORS-257: ---------------------------------------- I also found a technical problem - sorry! The line: protected static long responseLifetime = 60000L; ... obviously cannot remain the same, since it is a static. Instead you will need to pass the response lifetime as an argument to the AuthorizationResponseDescription class - either that, or make that class non-static and move the responseLifetime variable to be a non-static member variable of the connector class. Otherwise individual authorities will have their cache lifetimes conflated. > Input-able response lifetime for Active Directory authority > ----------------------------------------------------------- > > Key: CONNECTORS-257 > URL: https://issues.apache.org/jira/browse/CONNECTORS-257 > Project: ManifoldCF > Issue Type: Improvement > Components: Active Directory authority > Affects Versions: ManifoldCF 0.1, ManifoldCF 0.2, ManifoldCF 0.3 > Reporter: Shinichiro Abe > Assignee: Shinichiro Abe > Priority: Minor > Fix For: ManifoldCF 0.4 > > Attachments: CONNECTORS-257-1.patch > > > The access tokens are cached for one minute, and up to 1000 different > users' access tokens will be cached at any one time. > The access token's cache per username remains idle before expiring. > Its expiration time depends response lifetime, and > expiration time is updated after looking up the cache. > Currently response lifetime is 1 minute. > Since I want not to access Active Directory frequently, > I make this response lifetime to be input-able for users. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira