开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜