/** * Returns this {@code Subject}'s public credentials which are a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the public credentials * returned must satisfy. * @return this {@code Subject}'s public credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPublicCredentials(Class<T> c) { return publicCredentials.get(c); }
/** * Returns this {@code Subject}'s {@link Principal} which is a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the {@code Principal} * returned must satisfy. * @return this {@code Subject}'s {@link Principal}. Modifications to the * returned set of {@code Principal}s do not affect this {@code * Subject}'s set. */ public <T extends Principal> Set<T> getPrincipals(Class<T> c) { return ((SecureSet<Principal>) principals).get(c); }
/** * Returns this {@code Subject}'s private credentials which are a subclass * of the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the private credentials * returned must satisfy. * @return this {@code Subject}'s private credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPrivateCredentials(Class<T> c) { return privateCredentials.get(c); }
/** * Returns this {@code Subject}'s {@link Principal} which is a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the {@code Principal} * returned must satisfy. * @return this {@code Subject}'s {@link Principal}. Modifications to the * returned set of {@code Principal}s do not affect this {@code * Subject}'s set. */ public <T extends Principal> Set<T> getPrincipals(Class<T> c) { return ((SecureSet<Principal>) principals).get(c); }
/** * Returns this {@code Subject}'s private credentials which are a subclass * of the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the private credentials * returned must satisfy. * @return this {@code Subject}'s private credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPrivateCredentials(Class<T> c) { return privateCredentials.get(c); }
/** * Returns this {@code Subject}'s private credentials which are a subclass * of the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the private credentials * returned must satisfy. * @return this {@code Subject}'s private credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPrivateCredentials(Class<T> c) { return privateCredentials.get(c); }
/** * Returns this {@code Subject}'s public credentials which are a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the public credentials * returned must satisfy. * @return this {@code Subject}'s public credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPublicCredentials(Class<T> c) { return publicCredentials.get(c); }
/** * Returns this {@code Subject}'s {@link Principal} which is a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the {@code Principal} * returned must satisfy. * @return this {@code Subject}'s {@link Principal}. Modifications to the * returned set of {@code Principal}s do not affect this {@code * Subject}'s set. */ public <T extends Principal> Set<T> getPrincipals(Class<T> c) { return ((SecureSet<Principal>) principals).get(c); }
/** * Returns this {@code Subject}'s public credentials which are a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the public credentials * returned must satisfy. * @return this {@code Subject}'s public credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPublicCredentials(Class<T> c) { return publicCredentials.get(c); }
/** * Returns this {@code Subject}'s public credentials which are a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the public credentials * returned must satisfy. * @return this {@code Subject}'s public credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPublicCredentials(Class<T> c) { return publicCredentials.get(c); }
/** * Returns this {@code Subject}'s private credentials which are a subclass * of the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the private credentials * returned must satisfy. * @return this {@code Subject}'s private credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPrivateCredentials(Class<T> c) { return privateCredentials.get(c); }
/** * Returns this {@code Subject}'s {@link Principal} which is a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the {@code Principal} * returned must satisfy. * @return this {@code Subject}'s {@link Principal}. Modifications to the * returned set of {@code Principal}s do not affect this {@code * Subject}'s set. */ public <T extends Principal> Set<T> getPrincipals(Class<T> c) { return ((SecureSet<Principal>) principals).get(c); }
/** * Returns this {@code Subject}'s private credentials which are a subclass * of the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the private credentials * returned must satisfy. * @return this {@code Subject}'s private credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPrivateCredentials(Class<T> c) { return privateCredentials.get(c); }
/** * Returns this {@code Subject}'s {@link Principal} which is a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the {@code Principal} * returned must satisfy. * @return this {@code Subject}'s {@link Principal}. Modifications to the * returned set of {@code Principal}s do not affect this {@code * Subject}'s set. */ public <T extends Principal> Set<T> getPrincipals(Class<T> c) { return ((SecureSet<Principal>) principals).get(c); }
/** * Returns this {@code Subject}'s public credentials which are a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the public credentials * returned must satisfy. * @return this {@code Subject}'s public credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPublicCredentials(Class<T> c) { return publicCredentials.get(c); }
/** * Returns this {@code Subject}'s public credentials which are a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the public credentials * returned must satisfy. * @return this {@code Subject}'s public credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPublicCredentials(Class<T> c) { return publicCredentials.get(c); }
/** * Returns this {@code Subject}'s private credentials which are a subclass * of the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the private credentials * returned must satisfy. * @return this {@code Subject}'s private credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPrivateCredentials(Class<T> c) { return privateCredentials.get(c); }
/** * Returns this {@code Subject}'s private credentials which are a subclass * of the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the private credentials * returned must satisfy. * @return this {@code Subject}'s private credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPrivateCredentials(Class<T> c) { return privateCredentials.get(c); }
/** * Returns this {@code Subject}'s {@link Principal} which is a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the {@code Principal} * returned must satisfy. * @return this {@code Subject}'s {@link Principal}. Modifications to the * returned set of {@code Principal}s do not affect this {@code * Subject}'s set. */ public <T extends Principal> Set<T> getPrincipals(Class<T> c) { return ((SecureSet<Principal>) principals).get(c); }
/** * Returns this {@code Subject}'s public credentials which are a subclass of * the {@code Class} provided. * * @param c * the {@code Class} as a criteria which the public credentials * returned must satisfy. * @return this {@code Subject}'s public credentials. Modifications to the * returned set of credentials do not affect this {@code Subject}'s * credentials. */ public <T> Set<T> getPublicCredentials(Class<T> c) { return publicCredentials.get(c); }