开发者

OpenAM: Is there a way way to programmatically modify maxSessionTime attribute?

开发者 https://www.devze.com 2023-03-13 12:00 出处:网络
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 a

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

精彩评论

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

关注公众号