Code example for Subject

Methods: getPublicCredentials

                Map<String, ?> arg2, Map<String, ?> arg3) {
            sub = arg0;
        public boolean login() throws LoginException { 
            sub.getPublicCredentials().add(new Object());
            return true; 
        public boolean logout() throws LoginException { 
            return false; 
    private static class MyConfig extends Configuration {
        private String appName;
        private ArrayList<AppConfigurationEntry> entries;
Connect your IDE to all the code out there  Get Codota for Java