01: /*
02: * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.monitoring.security.sasl;
06:
07: import java.security.Provider;
08:
09: public class SaslProvider extends Provider {
10: public SaslProvider(SaslContext saslContext) {
11: super (saslContext.getProviderName(), Double
12: .parseDouble(saslContext.getProviderVersion()),
13: saslContext.getProviderInformation());
14: put("SaslServerFactory." + saslContext.getMechanismName(),
15: ServerFactory.class.getName());
16: put("SaslClientFactory." + saslContext.getMechanismName(),
17: ClientFactory.class.getName());
18: }
19: }
|