Merge pull request #386 from patriot1burke/master

check ssl required in adapter
ssoSessionIdleTimeout refactor
sso session idle and max lifespan