public class SSOProxy extends Object implements SSOMetKeys
ATTRIBUTES_COMMAND, AUTH_COMMAND, AUTHENTICATE_ENDPOINT, IDENTITY_ATTRIBUTES_ENDPOINT, IDENTITY_COMMAND, IDENTITY_DETAILS_ATTR_NAME, IDENTITY_DETAILS_ATTR_SKIP_LINE, IDENTITY_DETAILS_ATTR_VALUE, IDENTITY_DETAILS_GROUP, IDENTITY_DETAILS_NAME, IDENTITY_DETAILS_REALM, IDENTITY_DETAILS_TYPE, IDENTITY_READ_ENDPOINT, LOGOUT_COMMAND, LOGOUT_ENDPOINT, SSO_COOKIE_KEY, UID_ATTRIBUTE_NAME, UNKNOWN_USER, USER_COOKIE_KEY, USER_DETAILS_ATTR_NAME, USER_DETAILS_ATTR_VALUE, USER_DETAILS_ROLE, USER_DETAILS_TOKEN
Constructor and Description |
---|
SSOProxy() |
Modifier and Type | Method and Description |
---|---|
String |
authenticate(String username,
String password) |
UserDetails |
getUserAttributes(String token) |
void |
logout(String token) |
static void |
main(String[] args) |
IdentityDetails |
readIdentity(String username,
String token) |
public IdentityDetails readIdentity(String username, String token) throws IOException, SingleSignOnException
IOException
SingleSignOnException
public UserDetails getUserAttributes(String token) throws IOException, SingleSignOnException
IOException
SingleSignOnException
public void logout(String token)
public static void main(String[] args) throws IOException, SingleSignOnException
IOException
SingleSignOnException
Copyright © 1999–2017 Apache OODT. All rights reserved.