List of usage examples for javax.xml.registry Connection setCredentials
public void setCredentials(Set credentials) throws JAXRException;
From source file:it.cnr.icar.eric.client.ui.thin.security.SecurityUtil.java
/** Wrapper for ConnectionImpl.setCredentials() that ignores null or * empty credential sets./*from ww w . jav a2s. c om*/ */ public void setCredentials(Set<Object> credentials, Connection connection) throws JAXRException { if ((credentials != null) && !credentials.isEmpty()) { connection.setCredentials(credentials); } }