Liking cljdoc? Tell your friends :D

sarnowski.kerberos


create-configclj

(create-config jaas-config)

Create an in-memory JAAS configuration for the Kerberos login (instead of using a login.conf). See http://docs.oracle.com/javase/8/docs/jre/api/security/jaas/spec/com/sun/security/auth/module/Krb5LoginModule.html for possible keys as keywords.

Create an in-memory JAAS configuration for the Kerberos login (instead of using a login.conf). See
http://docs.oracle.com/javase/8/docs/jre/api/security/jaas/spec/com/sun/security/auth/module/Krb5LoginModule.html
for possible keys as keywords.
raw docstring

create-service-subjectclj

(create-service-subject principal config)

Logs in the local service user to be able to validate tickets later on. Returns the logged in subject or throws an exception.

Logs in the local service user to be able to validate tickets later on. Returns the logged in subject or
throws an exception.
raw docstring

login-userclj

(login-user username
            password
            config
            &
            {:keys [callback-fns] :or {callback-fns {}}})

Logs in a user with its username and password. Optionally can take additional callback functions for required input. Remember to manage the lifecycle of the returned LoginContext (logout if not required anymore to free the resources).

Logs in a user with its username and password. Optionally can take additional callback functions for required input.
Remember to manage the lifecycle of the returned LoginContext (logout if not required anymore to free the resources).
raw docstring

validate-ticketclj

(validate-ticket service-subject ticket)

Validates a given ticket blob and returns its detailed information. Throws an exception if not valid.

Validates a given ticket blob and returns its detailed information. Throws an exception if not valid.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close