OpenAM: Is there a way way to programmatically modify maxSessionTime attribute?
I've tried researching about custom authentication modules and authenticat开发者_C百科ion post processing, but didn't find anything.
By programmatically I meant to set this value based on some user attributes. Actually I found a way, using a Custom Condition inside a Policy. The ConditionDecision class (wich is the getConditionDecision() Condition´s interface response) allows to set a specific Session TTL.
More about the Policy Evaluation API here: http://download.oracle.com/docs/cd/E19681-01/820-3748/6nf8sa0b1/index.html
精彩评论